aboutsummaryrefslogtreecommitdiff
path: root/test/basic
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-12-07 14:24:00 -0800
committerCarl Worth <cworth@cworth.org>2010-12-07 16:23:20 -0800
commitb41aab78f2380c79512b1ed953f77acd86414dfb (patch)
treef854425316fbfef55f8047cf489016470af5f04f /test/basic
parenta18a15326c9bc392828c91a465b5c514cddfb539 (diff)
test: Leave tmp.<testname> for broken tests
Previously, this directory was only preserved for failing tests. But it's important to be able to easily debug known-broken tests, so preserve the actual vs. expected output for those as well.
Diffstat (limited to 'test/basic')
-rwxr-xr-xtest/basic1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/basic b/test/basic
index 309779c..b4410f2 100755
--- a/test/basic
+++ b/test/basic
@@ -71,6 +71,7 @@ output=$(cd ..; ./test-verbose -v 2>&1 | suppress_diff_date)
expected=$(cat $EXPECTED/test-verbose-yes | suppress_diff_date)
# Do not include the results of test-verbose in totals
rm $TEST_DIRECTORY/test-results/test-verbose-*
+rm -r $TEST_DIRECTORY/tmp.test-verbose
test_expect_equal "$output" "$expected"