modified /etc/crontab on george to run monkeysphere-authentication instead of monkeys...
[monkeysphere.git] / tests / common
index adc96a24924961de855342b2ed4ac5d88f1de121..30c6a8214f84fdd3c78ff2a40744bc45f18ab8cb 100644 (file)
@@ -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
 }