aboutsummaryrefslogtreecommitdiffstats
path: root/misc-tests.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--misc-tests.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc-tests.c b/misc-tests.c
index 0144916..4eca0a6 100644
--- a/misc-tests.c
+++ b/misc-tests.c
@@ -7,7 +7,7 @@
if ((ASSERTION))\
break;\
fprintf(stderr, "assertion `%s` at line %i failed\n", #ASSERTION, __LINE__);\
- exit(1);\
+ exit(2);\
} while (0)
@@ -23,6 +23,7 @@ eq(struct libhashsum_hasher *a, struct libhashsum_hasher *b)
a->process != b->process ||
a->finalise_const != b->finalise_const ||
a->finalise != b->finalise ||
+ a->stretch != b->stretch ||
a->destroy != b->destroy)
return 0;
if (a->hash_output && memcpy(a->hash_output, b->hash_output, a->hash_size))