[PATCH] D56105: Adjust NetBSD/md2.cc to be portable to more environments

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 27 08:40:04 PST 2018


krytarowski created this revision.
krytarowski added a reviewer: mgorny.
krytarowski added a project: Sanitizers.
Herald added subscribers: llvm-commits, kubamracek.

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


Repository:
  rL LLVM

https://reviews.llvm.org/D56105

Files:
  test/sanitizer_common/TestCases/NetBSD/md2.cc


Index: test/sanitizer_common/TestCases/NetBSD/md2.cc
===================================================================
--- test/sanitizer_common/TestCases/NetBSD/md2.cc
+++ test/sanitizer_common/TestCases/NetBSD/md2.cc
@@ -105,10 +105,10 @@
   // 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;
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56105.179557.patch
Type: text/x-patch
Size: 762 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181227/7959d8d4/attachment.bin>


More information about the llvm-commits mailing list