Commit e4ab2c62cdc5457ea4b8cabd6c7d391810e17fc1

Guillem Jover 2016-01-11T02:21:15

test: Fix success return code for arc4random unit test

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/test/arc4random.c b/test/arc4random.c
index ec52af1..e5a61f7 100644
--- a/test/arc4random.c
+++ b/test/arc4random.c
@@ -99,6 +99,8 @@ main(int argc, char **argv)
 		/* XXX: We should probably FAIL the test, but we currently
 		 * have one test always failing. */
 		rc = TEST_SKIP;
+	} else {
+		rc = TEST_OK;
 	}
 
 	return rc;