summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-04-13 01:57:08 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-04-13 01:57:08 (GMT)
commit02604e293a3b7d48b0ce4e34149de8dc89c674e5 (patch)
tree432409e36fcf200a8154f1ff726fdbd26973e170
parent51836e9e125f67aa26724154757b4734c08057e4 (diff)
downloadgit-02604e293a3b7d48b0ce4e34149de8dc89c674e5.zip
git-02604e293a3b7d48b0ce4e34149de8dc89c674e5.tar.gz
git-02604e293a3b7d48b0ce4e34149de8dc89c674e5.tar.bz2
t7401: squelch garbage output
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>
-rwxr-xr-xt/t7401-submodule-summary.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7401-submodule-summary.sh b/t/t7401-submodule-summary.sh
index 0f3c42a..b9a2219 100755
--- a/t/t7401-submodule-summary.sh
+++ b/t/t7401-submodule-summary.sh
@@ -30,7 +30,7 @@ commit_file () {
}
test_create_repo sm1 &&
-add_file . foo
+add_file . foo >/dev/null
head1=$(add_file sm1 foo1 foo2)