From 3c032405307167170728f7dd799237c41a58dc35 Mon Sep 17 00:00:00 2001 From: ZyX Date: Sun, 10 Aug 2014 16:00:00 +0400 Subject: [PATCH] Remove tests/shell iff there are no failures --- tests/test_shells/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_shells/test.sh b/tests/test_shells/test.sh index 3e1294be..a5e8f26e 100755 --- a/tests/test_shells/test.sh +++ b/tests/test_shells/test.sh @@ -183,5 +183,5 @@ if ! run_test ipython ipython ; then FAILED=1 fi -test "x$ONLY_SHELL" = "x" && rm -r tests/shell +test $FAILED -eq 0 && rm -r tests/shell exit $FAILED