]> asedeno.scripts.mit.edu Git - git.git/commitdiff
t7401: squelch garbage output
authorJunio C Hamano <gitster@pobox.com>
Sun, 13 Apr 2008 01:57:08 +0000 (18:57 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 13 Apr 2008 01:57:08 +0000 (18:57 -0700)
The script had an unconditional output done outside of test_expect_*
construct, which leaked out and contaminated the output without -v.
Squelch it.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7401-submodule-summary.sh

index 0f3c42ab35891d1dd671649ff38074a1d83e2a5b..b9a22190e86a0b8718b215771352ecefbdf86edc 100755 (executable)
@@ -30,7 +30,7 @@ commit_file () {
 }
 
 test_create_repo sm1 &&
-add_file . foo
+add_file . foo >/dev/null
 
 head1=$(add_file sm1 foo1 foo2)