urchin/tests/Cross-shell testing/Environment variable TEST_SHELL should be passed through.
Thomas Levine f8d98d9978 update shell cycling logic to match documentation
and I updated the documentation already because this new way seems
easier to think about
2016-02-29 12:29:49 +00:00

9 lines
405 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=.special-shell $TEST_SHELL \
../../urchin --disable-cycling ./.test-TEST_SHELL-passed-through