Skip to content

Commit

Permalink
Adjust NetBSD/md[45].cc to be portable to more environments
Browse files Browse the repository at this point in the history
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
  • Loading branch information
krytarowski committed Dec 27, 2018
1 parent 88a2c2a commit 001df4f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions compiler-rt/test/sanitizer_common/TestCases/NetBSD/md4.cc
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ int main(void) {
// 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;
}
4 changes: 2 additions & 2 deletions compiler-rt/test/sanitizer_common/TestCases/NetBSD/md5.cc
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ int main(void) {
// 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'

Expand Down

0 comments on commit 001df4f

Please sign in to comment.