summaryrefslogtreecommitdiff
path: root/test/sanitizer_common/TestCases/Posix
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2018-12-28 16:36:05 +0000
committerDavid Carlier <devnexen@gmail.com>2018-12-28 16:36:05 +0000
commitd5bfa8c9479fda418e52ea0d29ccaa45bfb19da1 (patch)
tree7469297a060ade532282a637766d984d09730461 /test/sanitizer_common/TestCases/Posix
parente2e466f82b24778a4b3caea3d914af843575006f (diff)
downloadcompiler-rt-d5bfa8c9479fda418e52ea0d29ccaa45bfb19da1.tar.gz
[Sanitizer] arc4random unit test missing case.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@350124 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/sanitizer_common/TestCases/Posix')
-rw-r--r--test/sanitizer_common/TestCases/Posix/arc4random.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/sanitizer_common/TestCases/Posix/arc4random.cc b/test/sanitizer_common/TestCases/Posix/arc4random.cc
index cb7c18f24..a34930973 100644
--- a/test/sanitizer_common/TestCases/Posix/arc4random.cc
+++ b/test/sanitizer_common/TestCases/Posix/arc4random.cc
@@ -50,11 +50,14 @@ void test_arc4random_buf256() {
int main(void) {
test_seed();
test_arc4random();
+ test_arc4random_uniform();
test_arc4random_buf10();
test_arc4random_buf256();
return 0;
// CHECK: test_arc4random
// CHECK: buf '{{.*}}'
+ // CHECK: test_arc4random_uniform
+ // CHECK: buf '{{.*}}'
// CHECK: test_arc4random_buf10
// CHECK: buf '{{.*}}'
// CHECK: test_arc4random_buf256