diff --git a/test/fast/setup b/test/fast/setup index b433b5c..f98394b 100755 --- a/test/fast/setup +++ b/test/fast/setup @@ -4,6 +4,9 @@ cd ../.. # Back up + + type setopt >/dev/null 2>&1 && setopt NULL_GLOB + type shopt >/dev/null 2>&1 && shopt -s nullglob rm -Rf v* src alias mkdir src alias ) diff --git a/test/fast/setup_dir b/test/fast/setup_dir index 1bba6c2..75e67e3 100755 --- a/test/fast/setup_dir +++ b/test/fast/setup_dir @@ -4,6 +4,9 @@ cd ../.. # Back up + + type setopt >/dev/null 2>&1 && setopt NULL_GLOB + type shopt >/dev/null 2>&1 && shopt -s nullglob mkdir -p bak mv v* src alias bak || sleep 0s ) diff --git a/test/fast/teardown b/test/fast/teardown index 954850f..bd269eb 100755 --- a/test/fast/teardown +++ b/test/fast/teardown @@ -3,5 +3,8 @@ # Remove temporary files ( cd ../.. + + type setopt >/dev/null 2>&1 && setopt NULL_GLOB + type shopt >/dev/null 2>&1 && shopt -s nullglob rm -fR v* src alias )