- read -p "press enter to cleanup and remove tmp (or type bash for a subshell to examine): " XX
- if [ "$XX" = bash ] ; then
- bash
+ 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 [ "$XX" = bash ] ; then
+ echo "Entering subshell..."
+ cd "$TEMPDIR"
+ bash
+ fi