From deceb473fdbaf526c46ff696a8d7afc3a81e4d90 Mon Sep 17 00:00:00 2001 From: David Levine Date: Tue, 13 Mar 2012 19:58:33 -0500 Subject: [PATCH] On some platforms, need to be out of $SPDIR in order to remove it. So do that in test/whatnow/test-ls. --- test/whatnow/test-ls | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/whatnow/test-ls b/test/whatnow/test-ls index f212e41..c289830 100755 --- a/test/whatnow/test-ls +++ b/test/whatnow/test-ls @@ -42,6 +42,8 @@ echo 'ls' | whatnow -noedit -prompt '' 2> "$actualerr" | sort > "$actual" check "$expectederr" "$actualerr" check "$expected" "$actual" +# On some platforms, need to be out of $SPDIR in order to remove it. +cd "$MH_TEST_DIR" test ${failed:-0} -eq 0 && rm -r "$SPDIR" exit $failed -- 1.7.10.4