7267239313
and also make them more cross-shell test style
12 lines
423 B
Bash
Executable File
12 lines
423 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 - if *undefined* - is exported with value '/bin/sh' by urchin
|
|
# and thus has that value inside test scripts.
|
|
|
|
s="$TEST_SHELL"
|
|
unset -v TEST_SHELL
|
|
"$s" ../../urchin ./.test-TEST_SHELL-undefined_or_empty
|