projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8733855
)
On some platforms, need to be out of $SPDIR in order to remove it.
author
David Levine
<levinedl@acm.org>
Wed, 14 Mar 2012 00:58:33 +0000
(19:58 -0500)
committer
David Levine
<levinedl@acm.org>
Wed, 14 Mar 2012 00:58:33 +0000
(19:58 -0500)
So do that in test/whatnow/test-ls.
test/whatnow/test-ls
patch
|
blob
|
history
diff --git
a/test/whatnow/test-ls
b/test/whatnow/test-ls
index
f212e41
..
c289830
100755
(executable)
--- 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