From 0a256f089257ca945efd596f86e97753079cc244 Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Sat, 4 Jan 2014 08:39:44 -0500 Subject: [PATCH] regressions: Empty set coverage for ck_hs_gc. --- regressions/ck_hs/validate/serial.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/regressions/ck_hs/validate/serial.c b/regressions/ck_hs/validate/serial.c index 97461d6..93a375b 100644 --- a/regressions/ck_hs/validate/serial.c +++ b/regressions/ck_hs/validate/serial.c @@ -113,6 +113,9 @@ run_test(unsigned int is, unsigned int ad) break; } + if (ck_hs_gc(&hs[j], 0, 0) == false) + ck_error("ERROR: Failed to GC empty set.\n"); + for (i = 0; i < sizeof(test) / sizeof(*test); i++) { h = test[i][0]; ck_hs_put(&hs[j], h, test[i]);