X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=tests%2Fcommon;h=30c6a8214f84fdd3c78ff2a40744bc45f18ab8cb;hb=4c4ce4467921a05e70825edf2331d359dc63b879;hp=adc96a24924961de855342b2ed4ac5d88f1de121;hpb=ee3660b61a72c0fd17f7841c1d0c67df6e9f9164;p=monkeysphere.git diff --git a/tests/common b/tests/common index adc96a2..30c6a82 100644 --- a/tests/common +++ b/tests/common @@ -3,7 +3,12 @@ failed_cleanup() { # FIXME: can we be more verbose here? echo 'FAILED!' - read -p "press enter to cleanup and remove tmp:" + read -p "press enter to cleanup and remove tmp (or type bash for a subshell to examine): " XX + if [ "$XX" = bash ] ; then + echo "Entering subshell..." + cd "$TEMPDIR" + bash + fi cleanup }