[PATCH] D56106: Adjust NetBSD/md[45].cc to be portable to more environments
Kamil Rytarowski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 27 08:49:47 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/D56106
Files:
test/sanitizer_common/TestCases/NetBSD/md4.cc
test/sanitizer_common/TestCases/NetBSD/md5.cc
Index: test/sanitizer_common/TestCases/NetBSD/md5.cc
===================================================================
--- test/sanitizer_common/TestCases/NetBSD/md5.cc
+++ test/sanitizer_common/TestCases/NetBSD/md5.cc
@@ -105,8 +105,8 @@
// CHECK: test1: '86e65b1ef4a830af347ac05ab4f0e999'
// CHECK: test2: '86e65b1ef4a830af347ac05ab4f0e999'
// CHECK: test3: '86e65b1ef4a830af347ac05ab4f0e999'
- // CHECK: test4: 'd6798ca88175b5feece4dda691a5b9b5'
- // CHECK: test5: 'd6798ca88175b5feece4dda691a5b9b5'
+ // CHECK: test4: '{{.*}}'
+ // CHECK: test5: '{{.*}}'
// CHECK: test6: '86e65b1ef4a830af347ac05ab4f0e999'
// CHECK: test7: '86e65b1ef4a830af347ac05ab4f0e999'
Index: test/sanitizer_common/TestCases/NetBSD/md4.cc
===================================================================
--- test/sanitizer_common/TestCases/NetBSD/md4.cc
+++ test/sanitizer_common/TestCases/NetBSD/md4.cc
@@ -105,10 +105,10 @@
// CHECK: test1: 'bf78fda2ca35eb7a026bfcdd3d17283d'
// CHECK: test2: 'bf78fda2ca35eb7a026bfcdd3d17283d'
// CHECK: test3: 'bf78fda2ca35eb7a026bfcdd3d17283d'
- // CHECK: test4: '85b3d78ce68be51f710272728fe606af'
- // CHECK: test5: '85b3d78ce68be51f710272728fe606af'
- // CHECK: test6: '{{.*}}'
- // CHECK: test7: '{{.*}}'
+ // CHECK: test4: '{{.*}}'
+ // CHECK: test5: '{{.*}}'
+ // CHECK: test6: 'bf78fda2ca35eb7a026bfcdd3d17283d'
+ // CHECK: test7: 'bf78fda2ca35eb7a026bfcdd3d17283d'
return 0;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56106.179558.patch
Type: text/x-patch
Size: 1448 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181227/dde47d36/attachment.bin>
More information about the llvm-commits
mailing list