]> Pileus Git - ~andy/git/blobdiff - t/t9902-completion.sh
Merge branch 'jk/maint-checkout-orphan-check-fix'
[~andy/git] / t / t9902-completion.sh
index 256e6a0b3f3d001482cf0a21605f6a860d935d58..92d7eb47c2a412a300a9faca04d41777e0a29b00 100755 (executable)
@@ -3,21 +3,9 @@
 # Copyright (c) 2012 Felipe Contreras
 #
 
-if test -n "$BASH" && test -z "$POSIXLY_CORRECT"; then
-       # we are in full-on bash mode
-       true
-elif type bash >/dev/null 2>&1; then
-       # execute in full-on bash mode
-       unset POSIXLY_CORRECT
-       exec bash "$0" "$@"
-else
-       echo '1..0 #SKIP skipping bash completion tests; bash not available'
-       exit 0
-fi
-
 test_description='test bash completion'
 
-. ./test-lib.sh
+. ./lib-bash.sh
 
 complete ()
 {