diff --git a/regressions/ck_ring/validate/ck_ring_spmc.c b/regressions/ck_ring/validate/ck_ring_spmc.c index 259a8a1..75b8d18 100644 --- a/regressions/ck_ring/validate/ck_ring_spmc.c +++ b/regressions/ck_ring/validate/ck_ring_spmc.c @@ -241,7 +241,7 @@ main(int argc, char *argv[]) assert(nthr >= 1); size = atoi(argv[3]); - assert(size > 4 && (size & size - 1) == 0); + assert(size >= 4 && (size & size - 1) == 0); size -= 1; ring = malloc(sizeof(ck_ring_t) * nthr); diff --git a/regressions/ck_ring/validate/ck_ring_spmc_template.c b/regressions/ck_ring/validate/ck_ring_spmc_template.c index 08a7eb1..379329b 100644 --- a/regressions/ck_ring/validate/ck_ring_spmc_template.c +++ b/regressions/ck_ring/validate/ck_ring_spmc_template.c @@ -214,7 +214,7 @@ main(int argc, char *argv[]) assert(nthr >= 1); size = atoi(argv[3]); - assert(size > 4 && (size & size - 1) == 0); + assert(size >= 4 && (size & size - 1) == 0); size -= 1; ring = malloc(sizeof(ck_ring_t) * nthr); diff --git a/regressions/ck_ring/validate/ck_ring_spsc.c b/regressions/ck_ring/validate/ck_ring_spsc.c index 080f9c7..9dbb079 100644 --- a/regressions/ck_ring/validate/ck_ring_spsc.c +++ b/regressions/ck_ring/validate/ck_ring_spsc.c @@ -166,7 +166,7 @@ main(int argc, char *argv[]) assert(nthr >= 1); size = atoi(argv[3]); - assert(size > 4 && (size & size - 1) == 0); + assert(size >= 4 && (size & size - 1) == 0); size -= 1; ring = malloc(sizeof(ck_ring_t) * nthr); diff --git a/regressions/ck_ring/validate/ck_ring_spsc_template.c b/regressions/ck_ring/validate/ck_ring_spsc_template.c index 6b4b4c5..d176986 100644 --- a/regressions/ck_ring/validate/ck_ring_spsc_template.c +++ b/regressions/ck_ring/validate/ck_ring_spsc_template.c @@ -167,7 +167,7 @@ main(int argc, char *argv[]) assert(nthr >= 1); size = atoi(argv[3]); - assert(size > 4 && (size & size - 1) == 0); + assert(size >= 4 && (size & size - 1) == 0); size -= 1; ring = malloc(sizeof(CK_RING_INSTANCE(entry_ring)) * nthr);