Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/cr-marcstevens/sha1collisiondetection.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcr-marcstevens <github@marc-stevens.nl>2017-03-16 13:13:59 +0300
committercr-marcstevens <github@marc-stevens.nl>2017-03-16 13:13:59 +0300
commit0344d0911d6567422734d28e40eb26e7eba667bc (patch)
tree83f7c5bdae9722a37799ac0c071c9cdfd7a66b54
parentcc452f57229ac0c55e0ef38749dc6ea62e3e89ae (diff)
Makefile: check target will throw error when output is incorrect
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7cf6f6d..ce7f571 100644
--- a/Makefile
+++ b/Makefile
@@ -109,6 +109,13 @@ clean:
.PHONY: test
test: tools
+ (test e98a60b463a6868a6ce351ab0166c0af0c8c4721 = `bin/sha1dcsum test/sha1_reducedsha_coll.bin | cut -d' ' -f1` && echo "\nError: Compiled for incorrect endianness" && false) || true
+ test a56374e1cf4c3746499bc7c0acb39498ad2ee185 = `bin/sha1dcsum test/sha1_reducedsha_coll.bin | cut -d' ' -f1`
+ test 16e96b70000dd1e7c85b8368ee197754400e58ec = `bin/sha1dcsum test/shattered-1.pdf | cut -d' ' -f1`
+ test e1761773e6a35916d99f891b77663e6405313587 = `bin/sha1dcsum test/shattered-2.pdf | cut -d' ' -f1`
+ test dd39885a2a5d8f59030b451e00cb45da9f9d3828 = `bin/sha1dcsum_partialcoll test/sha1_reducedsha_coll.bin | cut -d' ' -f1`
+ test d3a1d09969c3b57113fd17b23e01dd3de74a99bb = `bin/sha1dcsum_partialcoll test/shattered-1.pdf | cut -d' ' -f1`
+ test 92246b0b718f4c704d37bb025717cbc66babf102 = `bin/sha1dcsum_partialcoll test/shattered-2.pdf | cut -d' ' -f1`
bin/sha1dcsum test/*
bin/sha1dcsum_partialcoll test/*