diff options
author | Jameson Graef Rollins <jrollins@finestructure.net> | 2009-04-06 23:31:09 -0700 |
---|---|---|
committer | Jameson Graef Rollins <jrollins@finestructure.net> | 2009-04-06 23:31:09 -0700 |
commit | 00ff70f6038a20c09968bc7b1cd2309916e178a8 (patch) | |
tree | 1717f6ac846b92f5b255b705b69e1f2264d5c9d9 /tests/common | |
parent | c2a85da2be8f884cb7e96f05d8a37dcb6ddd80b5 (diff) |
make test prompt for shell on failure enbabled by default, and turned off with env variable MONKEYSPHERE_TEST_NO_EXAMINE
Diffstat (limited to 'tests/common')
-rw-r--r-- | tests/common | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/common b/tests/common index e53c31e..a000c56 100644 --- a/tests/common +++ b/tests/common @@ -3,7 +3,7 @@ failed_cleanup() { # FIXME: can we be more verbose here? echo 'FAILED!' - if [ "$MONKEYSPHERE_TEST_ALLOW_EXAMINATION" = prompt ] ; then + 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..." |