summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/entropy_sample.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/entropy_sample.c b/src/tests/entropy_sample.c
index e00bb484e..9e75b4e9b 100644
--- a/src/tests/entropy_sample.c
+++ b/src/tests/entropy_sample.c
@@ -48,7 +48,8 @@ static void entropy_sample_test_exec ( void ) {
for ( i = 0 ; i < ( SAMPLE_COUNT / SAMPLE_BLOCKSIZE ) ; i++ ) {
/* Collect one block of samples */
- entropy_enable();
+ rc = entropy_enable();
+ ok ( rc == 0 );
for ( j = 0 ; j < SAMPLE_BLOCKSIZE ; j++ ) {
rc = get_noise ( &samples[j] );
ok ( rc == 0 );