From: Daniel Kahn Gillmor Date: Thu, 12 Feb 2009 23:34:08 +0000 (-0500) Subject: tests/common: enable a single subshell in the test environment before cleanup on... X-Git-Tag: monkeysphere_0.23~99^2~2 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=0dc13ca3b54ecd5ce311f88fed736aca1774b525;p=monkeysphere.git tests/common: enable a single subshell in the test environment before cleanup on failure; makes it easier to have $PATH, etc set up --- diff --git a/tests/common b/tests/common index adc96a2..0f90500 100644 --- a/tests/common +++ b/tests/common @@ -3,7 +3,10 @@ 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 + bash + fi cleanup }