urchin/tests/Cross-shell testing/Environment variable TEST_SHELL should be passed through.
Thomas Levine 7267239313 start moving cross-shell testing tests
and also make them more cross-shell test style
2016-02-28 22:23:47 +00:00

9 lines
394 B
Bash
Executable File

#!/bin/sh
# Tests support for either passing through or defining a default value for environment variable TEST_SHELL.
# (for test scripts that want to invoke shell scripts with a specified shell).
# Test if $TEST_SHELL, when placed in urchin's environment, is passed through to the test scripts.
TEST_SHELL="$PWD/.special-shell" $TEST_SHELL \
../../urchin ./.test-TEST_SHELL-passed-through