tests: Allow use of random.c under Windows.
authorWerner Koch <wk@gnupg.org>
Mon, 3 Dec 2012 15:18:56 +0000 (16:18 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 3 Dec 2012 19:47:38 +0000 (20:47 +0100)
commit76c622e24a07f7c826812be173aa173b4334776b
tree1d13abf15f08eff5251b6d9dd57175785da23675
parent75760021b511ba438606af746431223357e7a155
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.
tests/Makefile.am
tests/random.c