From 0dc13ca3b54ecd5ce311f88fed736aca1774b525 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Thu, 12 Feb 2009 18:34:08 -0500 Subject: [PATCH] tests/common: enable a single subshell in the test environment before cleanup on failure; makes it easier to have $PATH, etc set up --- tests/common | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 } -- 2.25.1