1# Shell library sourced instead of ./test-lib.sh by tests that need2# to run under Bash; primarily intended for tests of the completion3# script.45if test -n "$BASH" && test -z "$POSIXLY_CORRECT"; then6# we are in full-on bash mode7true8elif type bash >/dev/null 2>&1; then9# execute in full-on bash mode10unset POSIXLY_CORRECT11exec bash "$0" "$@"12else13echo '1..0 #SKIP skipping bash completion tests; bash not available'14exit 015fi1617. ./test-lib.sh