]> granicus.if.org Git - check/commit
modify test_log_output.sh to compare output based on HAVE_FORK
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Mon, 23 Sep 2013 13:07:01 +0000 (13:07 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Mon, 23 Sep 2013 13:07:01 +0000 (13:07 +0000)
commit2f580655885e8aae7823baf11658d80797a6c141
treeb72155802636eccf3304b5fce545d369a5d05936
parent601700e18ab16e7591595f341bf30c2f9002c788
modify test_log_output.sh to compare output based on HAVE_FORK

When run in Windows, the output differs slightly from when it is run
under *NIX due to line endings. *NIX uses \n, whereas Windows
uses \r\n. To account for this, printf is used to generate the
Windows expected string.

Additionally, the test_exit test was removed, as it is not valid
if fork is unavailable.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@782 64e312b2-a51f-0410-8e61-82d0ca0eb02a
NEWS
tests/ex_log_output.c
tests/test_log_output.sh