1#!/bin/sh2#3# Ensures that tests are run under Bash; primarily intended for running tests4# of the completion script.56if test -n "$BASH" && test -z "$POSIXLY_CORRECT"; then7# we are in full-on bash mode8true9elif type bash >/dev/null 2>&1; then10# execute in full-on bash mode11unset POSIXLY_CORRECT12exec bash "$0" "$@"13else14echo '1..0 #SKIP skipping bash completion tests; bash not available'15exit 016fi1718. ./test-lib.sh