diff options
author | Ruslan Ermilov <ru@nginx.com> | 2017-07-14 20:37:28 +0300 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2017-07-14 20:37:28 +0300 |
commit | ca3b1b898a759441664e75ea0d1885e36b9defac (patch) | |
tree | 076b766e81615b1ae78e302ca9b313b89650fedc | |
parent | e134efcb9caf5f95d0e750a9af8a9d403aa131af (diff) | |
download | unit-ca3b1b898a759441664e75ea0d1885e36b9defac.tar.gz unit-ca3b1b898a759441664e75ea0d1885e36b9defac.tar.bz2 |
Restored arc4random unit test after 59fc46dd5e1d.
-rw-r--r-- | auto/unix | 16 | ||||
-rw-r--r-- | test/nxt_lib_unit_test.c | 2 |
2 files changed, 0 insertions, 18 deletions
@@ -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()" diff --git a/test/nxt_lib_unit_test.c b/test/nxt_lib_unit_test.c index 50615828..bac2258e 100644 --- a/test/nxt_lib_unit_test.c +++ b/test/nxt_lib_unit_test.c @@ -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; |