Restored arc4random unit test after 59fc46dd5e1d.

This commit is contained in:
Ruslan Ermilov
2017-07-14 20:37:28 +03:00
parent e134efcb9c
commit ca3b1b898a
2 changed files with 0 additions and 18 deletions

View File

@@ -3,22 +3,6 @@
# Copyright (C) NGINX, Inc.
nxt_feature="arc4random()"
nxt_feature_name=NXT_HAVE_ARC4RANDOM
nxt_feature_run=
nxt_feature_incs=
nxt_feature_libs=
nxt_feature_test="#include <stdlib.h>
int main() {
(void) arc4random();
return 0;
}"
. auto/feature
# Linux 3.17 getrandom().
nxt_feature="getrandom()"

View File

@@ -69,11 +69,9 @@ main(int argc, char **argv)
#endif
#if !(NXT_HAVE_ARC4RANDOM)
if (nxt_random_unit_test(thr) != NXT_OK) {
return 1;
}
#endif
if (nxt_term_parse_unit_test(thr) != NXT_OK) {
return 1;