]> git.ipfire.org Git - thirdparty/libbsd.git/commitdiff
test: Fix success return code for arc4random unit test
authorGuillem Jover <guillem@hadrons.org>
Mon, 11 Jan 2016 01:21:15 +0000 (02:21 +0100)
committerGuillem Jover <guillem@hadrons.org>
Mon, 11 Jan 2016 01:35:34 +0000 (02:35 +0100)
test/arc4random.c

index ec52af1c74440c9b85efc2d6019bd42e05df3bc8..e5a61f76730d78270f327a7f8873e3f428214987 100644 (file)
@@ -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;