aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-02-16 20:55:41 +0100
committerMattias Andrée <maandree@kth.se>2022-02-16 20:55:41 +0100
commit3db9d3e7f43d5b1d1911c8d65d2d2c8688873632 (patch)
treede7cc914f8ba0e7f72ec74aaa1021c7273c5997c
parentAdd more test code (diff)
downloadlibar2-3db9d3e7f43d5b1d1911c8d65d2d2c8688873632.tar.gz
libar2-3db9d3e7f43d5b1d1911c8d65d2d2c8688873632.tar.bz2
libar2-3db9d3e7f43d5b1d1911c8d65d2d2c8688873632.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test.c b/test.c
index 67074d8..00d4252 100644
--- a/test.c
+++ b/test.c
@@ -1133,6 +1133,7 @@ check_failures(void)
errno = 0;
user_data.destroy_thread_pool_error = EDOM;
assert(libar2_hash(sbuf, NULL, 0, &params, &ctx_pt) == -1 && errno == EDOM);
+ errno = 0;
user_data.destroy_thread_pool_error = EDOM;
params.lanes = 1;
assert(libar2_hash(sbuf, NULL, 0, &params, &ctx_pt) == -1 && errno == EDOM);