summaryrefslogtreecommitdiff
path: root/t/t3600-rm.sh
diff options
context:
space:
mode:
authorJohannes Sixt <j6t@kdbg.org>2009-03-17 22:45:22 +0100
committerJohannes Sixt <j6t@kdbg.org>2009-03-19 21:47:14 +0100
commit5b46a4285f3588eaa7e53d513025b28f9f5bfec7 (patch)
tree68066189b79dc8ccd45b14677366235c657fc52c /t/t3600-rm.sh
parentfae74a04d75e820c5150cfb0cb4c044bf4488007 (diff)
downloadgit-5b46a4285f3588eaa7e53d513025b28f9f5bfec7.tar.gz
Call 'say' outside test_expect_success
There were some uses of 'say' inside test_expect_success. But if the tests were not run in verbose mode, this message went to /dev/null. Pull them out of test_expect_success. Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Diffstat (limited to 't/t3600-rm.sh')
-rwxr-xr-xt/t3600-rm.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/t3600-rm.sh b/t/t3600-rm.sh
index 74ea8e09f8..2aefbcf471 100755
--- a/t/t3600-rm.sh
+++ b/t/t3600-rm.sh
@@ -21,10 +21,11 @@ embedded'
embedded' &&
git commit -m 'add files with tabs and newlines'
else
- say 'Your filesystem does not allow tabs in filenames.'
test_tabs=n
fi"
+test "$test_tabs" = n && say 'Your filesystem does not allow tabs in filenames.'
+
# Later we will try removing an unremovable path to make sure
# git rm barfs, but if the test is run as root that cannot be
# arranged.