diff options
author | Johannes Sixt <j6t@kdbg.org> | 2009-03-17 22:45:22 +0100 |
---|---|---|
committer | Johannes Sixt <j6t@kdbg.org> | 2009-03-19 21:47:14 +0100 |
commit | 5b46a4285f3588eaa7e53d513025b28f9f5bfec7 (patch) | |
tree | 68066189b79dc8ccd45b14677366235c657fc52c /t/t3600-rm.sh | |
parent | fae74a04d75e820c5150cfb0cb4c044bf4488007 (diff) | |
download | git-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-x | t/t3600-rm.sh | 3 |
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. |