X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=tests%2Fcommon;h=a000c565a2d4b2045c2ad425307945598484596d;hb=6216ad92eae29ec3b301dcc66937fa86023a7be6;hp=adc96a24924961de855342b2ed4ac5d88f1de121;hpb=ee3660b61a72c0fd17f7841c1d0c67df6e9f9164;p=monkeysphere.git diff --git a/tests/common b/tests/common index adc96a2..a000c56 100644 --- a/tests/common +++ b/tests/common @@ -3,7 +3,14 @@ failed_cleanup() { # FIXME: can we be more verbose here? echo 'FAILED!' - read -p "press enter to cleanup and remove tmp:" + if [ -z "$MONKEYSPHERE_TEST_NO_EXAMINE" ] ; then + 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 + fi cleanup }