[compiler-rt] r350096 - Adjust NetBSD/md2.cc to be portable to more environments

Kamil Rytarowski via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 27 09:03:22 PST 2018


Author: kamil
Date: Thu Dec 27 09:03:21 2018
New Revision: 350096

URL: http://llvm.org/viewvc/llvm-project?rev=350096&view=rev
Log:
Adjust NetBSD/md2.cc to be portable to more environments

Summary:
By an accident part of the tests contained hardcoded checksums
for external files that will differ between setups.

Reviewers: mgorny

Subscribers: kubamracek, llvm-commits, #sanitizers

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D56105

Modified:
    compiler-rt/trunk/test/sanitizer_common/TestCases/NetBSD/md2.cc

Modified: compiler-rt/trunk/test/sanitizer_common/TestCases/NetBSD/md2.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/TestCases/NetBSD/md2.cc?rev=350096&r1=350095&r2=350096&view=diff
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/TestCases/NetBSD/md2.cc (original)
+++ compiler-rt/trunk/test/sanitizer_common/TestCases/NetBSD/md2.cc Thu Dec 27 09:03:21 2018
@@ -105,10 +105,10 @@ int main(void) {
   // CHECK: test1: 'e303e49b34f981c2740cdf809200d51b'
   // CHECK: test2: 'e303e49b34f981c2740cdf809200d51b'
   // CHECK: test3: 'e303e49b34f981c2740cdf809200d51b'
-  // CHECK: test4: 'a409cff8627afa00f3b563cf5f09af05'
-  // CHECK: test5: 'a409cff8627afa00f3b563cf5f09af05'
-  // CHECK: test6: '{{.*}}'
-  // CHECK: test7: '{{.*}}'
+  // CHECK: test4: '{{.*}}'
+  // CHECK: test5: '{{.*}}'
+  // CHECK: test6: 'e303e49b34f981c2740cdf809200d51b'
+  // CHECK: test7: 'e303e49b34f981c2740cdf809200d51b'
 
   return 0;
 }




More information about the llvm-commits mailing list