diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unittests/torture_rand.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unittests/torture_rand.c b/tests/unittests/torture_rand.c index 71e8bf1..829989b 100644 --- a/tests/unittests/torture_rand.c +++ b/tests/unittests/torture_rand.c @@ -36,6 +36,7 @@ static void *torture_rand_thread(void *threadid) { buffer[0] = buffer[1] = buffer[10] = buffer[11] = 'X'; for(i = 0; i < NUM_LOOPS; ++i) { r = ssh_get_random(&buffer[2], i % 8 + 1, 0); + assert_true(r == 1); } pthread_exit(NULL); |