]> granicus.if.org Git - check/commit
Use env to find shell to use
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Mon, 12 May 2014 01:38:24 +0000 (01:38 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Mon, 12 May 2014 01:38:24 +0000 (01:38 +0000)
commit1de5cdf3389e95fc3b1ce87b35cadb93ff12722b
treebfcd5c9d289490422ecf07050fa54f93f7f80ed8
parent09e496460ae2154ca672110f811355ef8beb4cf2
Use env to find shell to use

On at least one platform (Solaris), the shell located at /bin/sh is
not a compliant shell. Using env as a form of redirection to find
a sh program, the PATH can be changed to find a compliant sh
to use. On platforms where /bin/sh is compliant, env should work
just fine.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1133 64e312b2-a51f-0410-8e61-82d0ca0eb02a
tests/test_check_nofork.sh
tests/test_log_output.sh
tests/test_mem_leaks.sh
tests/test_output.sh
tests/test_tap_output.sh
tests/test_xml_output.sh