diff options
Diffstat (limited to 'init.cfg')
-rw-r--r-- | init.cfg | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -629,6 +629,15 @@ trap_sigpipe_or_skip_() skip_ 'trapping SIGPIPE is not supported' } +require_bash_as_SHELL_() +{ + if bash --version >/dev/null 2>&1; then + SHELL='bash' + else + skip_ 'bash is required' + fi +} + # Disable the current test if the working directory seems to have # the setgid bit set. skip_if_setgid_() |