Skip to content

Commit 001df4f

Browse files
committedDec 27, 2018
Adjust NetBSD/md[45].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/D56106 llvm-svn: 350095
1 parent 88a2c2a commit 001df4f

File tree

2 files changed

+6
-6
lines changed
  • compiler-rt/test/sanitizer_common/TestCases/NetBSD

2 files changed

+6
-6
lines changed
 

‎compiler-rt/test/sanitizer_common/TestCases/NetBSD/md4.cc

+4-4
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,10 @@ int main(void) {
105105
// CHECK: test1: 'bf78fda2ca35eb7a026bfcdd3d17283d'
106106
// CHECK: test2: 'bf78fda2ca35eb7a026bfcdd3d17283d'
107107
// CHECK: test3: 'bf78fda2ca35eb7a026bfcdd3d17283d'
108-
// CHECK: test4: '85b3d78ce68be51f710272728fe606af'
109-
// CHECK: test5: '85b3d78ce68be51f710272728fe606af'
110-
// CHECK: test6: '{{.*}}'
111-
// CHECK: test7: '{{.*}}'
108+
// CHECK: test4: '{{.*}}'
109+
// CHECK: test5: '{{.*}}'
110+
// CHECK: test6: 'bf78fda2ca35eb7a026bfcdd3d17283d'
111+
// CHECK: test7: 'bf78fda2ca35eb7a026bfcdd3d17283d'
112112

113113
return 0;
114114
}

‎compiler-rt/test/sanitizer_common/TestCases/NetBSD/md5.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ int main(void) {
105105
// CHECK: test1: '86e65b1ef4a830af347ac05ab4f0e999'
106106
// CHECK: test2: '86e65b1ef4a830af347ac05ab4f0e999'
107107
// CHECK: test3: '86e65b1ef4a830af347ac05ab4f0e999'
108-
// CHECK: test4: 'd6798ca88175b5feece4dda691a5b9b5'
109-
// CHECK: test5: 'd6798ca88175b5feece4dda691a5b9b5'
108+
// CHECK: test4: '{{.*}}'
109+
// CHECK: test5: '{{.*}}'
110110
// CHECK: test6: '86e65b1ef4a830af347ac05ab4f0e999'
111111
// CHECK: test7: '86e65b1ef4a830af347ac05ab4f0e999'
112112

0 commit comments

Comments
 (0)
Please sign in to comment.