urchin/tests/Cross-shell test support
Michael Klement 1e9611e732 Support for cross-shell testing added, via option -s <shell> and env. variable TEST_SHELL.
* For **tests that _source_ shell scripts**: **option `-s <shell>`** now tells urchin to invoke test scripts with the specified shell (only shebang-less and `#!/bin/sh` tests scripts).
* For **tests that _invoke_ schell scripts**: instruct users to write their tests to always **invoke via environment variable `TEST_SHELL` (e.g., `$TEST_SHELL ../foo`)**, and invoke urchin with that variable defined as needed, e.g., `TEST_SHELL=ksh urchin ./tests`; urchin defaults `TEST_SHELL` to `/bin/sh`.

See updated `readme.md` for details.
2014-10-17 17:16:12 -04:00
..
.test-run-by-specified-shell Support for cross-shell testing added, via option -s <shell> and env. variable TEST_SHELL. 2014-10-17 17:16:12 -04:00
.test-TEST_SHELL-passed-through Support for cross-shell testing added, via option -s <shell> and env. variable TEST_SHELL. 2014-10-17 17:16:12 -04:00
.test-TEST_SHELL-undefined_or_empty Support for cross-shell testing added, via option -s <shell> and env. variable TEST_SHELL. 2014-10-17 17:16:12 -04:00
Environment variable TEST_SHELL should be passed through. Support for cross-shell testing added, via option -s <shell> and env. variable TEST_SHELL. 2014-10-17 17:16:12 -04:00
Environment variable TEST_SHELL should default to sh if empty. Support for cross-shell testing added, via option -s <shell> and env. variable TEST_SHELL. 2014-10-17 17:16:12 -04:00
Environment variable TEST_SHELL should default to sh if unset. Support for cross-shell testing added, via option -s <shell> and env. variable TEST_SHELL. 2014-10-17 17:16:12 -04:00
The -s option should invoke tests with the specified shell. Support for cross-shell testing added, via option -s <shell> and env. variable TEST_SHELL. 2014-10-17 17:16:12 -04:00