projects
/
monkeysphere.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'dkg/master'
[monkeysphere.git]
/
tests
/
common
diff --git
a/tests/common
b/tests/common
index adc96a24924961de855342b2ed4ac5d88f1de121..a000c565a2d4b2045c2ad425307945598484596d 100644
(file)
--- a/
tests/common
+++ b/
tests/common
@@
-3,7
+3,14
@@
failed_cleanup() {
# FIXME: can we be more verbose here?
echo 'FAILED!'
failed_cleanup() {
# FIXME: can we be more verbose here?
echo 'FAILED!'
- read -p "press enter to cleanup and remove tmp:"
+ 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"
+ bash
+ fi
+ fi
cleanup
}
cleanup
}