X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=tests%2Fcommon;h=6d732c82682ea73407bc8de16c4b9a0b5fcd36a0;hb=9eb1c769ec82b339079ba786fce9592ec846f115;hp=e53c31ed72e426726353a0ed0b10206e8815e261;hpb=282c489f3101f0d744b66d88853a150e79b0870d;p=monkeysphere.git diff --git a/tests/common b/tests/common index e53c31e..6d732c8 100644 --- a/tests/common +++ b/tests/common @@ -3,8 +3,8 @@ failed_cleanup() { # FIXME: can we be more verbose here? echo 'FAILED!' - if [ "$MONKEYSPHERE_TEST_ALLOW_EXAMINATION" = prompt ] ; then - read -p "press enter to cleanup and remove tmp (or type bash for a subshell to examine): " XX + 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"