making entry into subshell after failed test run more explicit (thanks for the sugges...
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sat, 21 Feb 2009 21:31:21 +0000 (16:31 -0500)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sat, 21 Feb 2009 21:31:21 +0000 (16:31 -0500)
tests/common

index 0f9050015cde858c58224dd387a57568ede5a00b..30c6a8214f84fdd3c78ff2a40744bc45f18ab8cb 100644 (file)
@@ -5,6 +5,8 @@ failed_cleanup() {
     echo 'FAILED!'
     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