summaryrefslogtreecommitdiff
path: root/t/t3001-ls-files-others-exclude.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2015-03-20 10:06:44 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-03-20 17:20:13 (GMT)
commit60687de5ba3eb90f8332fb1bcec73a2cb782c95c (patch)
tree33192f9dd985cd6ebc82726e4a4d4ce96cbcad3c /t/t3001-ls-files-others-exclude.sh
parent8fb268720e8565885039e7491f4628974e2d66a2 (diff)
downloadgit-60687de5ba3eb90f8332fb1bcec73a2cb782c95c.zip
git-60687de5ba3eb90f8332fb1bcec73a2cb782c95c.tar.gz
git-60687de5ba3eb90f8332fb1bcec73a2cb782c95c.tar.bz2
t: fix moderate &&-chain breakage
These are tests which are missing a link in their &&-chain, but in a way that probably does not effect the outcome of the test. Most of these are of the form: some_cmd >actual test_cmp expect actual The main point of the test is to verify the output, and a failure in some_cmd would probably be noticed by bogus output. But it is good for the tests to also confirm that "some_cmd" does not die unexpectedly after producing its output. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3001-ls-files-others-exclude.sh')
-rwxr-xr-xt/t3001-ls-files-others-exclude.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t3001-ls-files-others-exclude.sh b/t/t3001-ls-files-others-exclude.sh
index b2798fe..3fc484e 100755
--- a/t/t3001-ls-files-others-exclude.sh
+++ b/t/t3001-ls-files-others-exclude.sh
@@ -294,7 +294,7 @@ one/a.1
one/two/a.1
three/a.1
EOF
- git ls-files -o -i --exclude "**/a.1" >actual
+ git ls-files -o -i --exclude "**/a.1" >actual &&
test_cmp expect actual
'