[compiler-rt] r350124 - [Sanitizer] arc4random unit test missing case.

David Carlier via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 28 08:36:05 PST 2018


Author: devnexen
Date: Fri Dec 28 08:36:05 2018
New Revision: 350124

URL: http://llvm.org/viewvc/llvm-project?rev=350124&view=rev
Log:
[Sanitizer] arc4random unit test missing case.

Modified:
    compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/arc4random.cc

Modified: compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/arc4random.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/arc4random.cc?rev=350124&r1=350123&r2=350124&view=diff
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/arc4random.cc (original)
+++ compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/arc4random.cc Fri Dec 28 08:36:05 2018
@@ -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




More information about the llvm-commits mailing list