Home GnuPG

tests: Allow use of random.c under Windows.
76c622e24a07Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

tests: Allow use of random.c under Windows.

* tests/Makefile.am (TESTS): Always include random.c
* tests/random.c [!W32]: Include sys/wait.h.
(inf): New.
(check_forking, check_nonce_forking): Print a notice what will be done.
(main) [W32]: Do not call signal.

This change help to run future tests under Windows. The current two
tests are not applicable to Windows.

Details

Provenance
wernerAuthored on Dec 3 2012, 4:18 PM
Parents
rC75760021b511: Make random-fips.c work multi-threaded.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rC76c622e24a07: tests: Allow use of random.c under Windows. (authored by Werner Koch <wk@gnupg.org>).Dec 3 2012, 8:47 PM