2014-10-17 17:16:12 -04:00
|
|
|
#!/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 *defined, but empty* - is exported with value '/bin/sh' by urchin
|
|
|
|
# and thus has that value inside the scripts.
|
2016-02-29 07:29:47 -05:00
|
|
|
TEST_SHELL= $TEST_SHELL \
|
2016-02-28 17:23:45 -05:00
|
|
|
../../urchin ./.test-TEST_SHELL-undefined_or_empty
|