summaryrefslogtreecommitdiff
path: root/t/t3010-ls-files-killed-modified.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2015-03-20 06:07:15 -0400
committerJunio C Hamano <gitster@pobox.com>2015-03-20 10:20:14 -0700
commit99094a7ad484085b9f6849a8ebe1e23467c5bc14 (patch)
treec47fba4be6766c5ec5bec48108fe1e96ce22bb40 /t/t3010-ls-files-killed-modified.sh
parent60687de5ba3eb90f8332fb1bcec73a2cb782c95c (diff)
downloadgit-99094a7ad484085b9f6849a8ebe1e23467c5bc14.tar.gz
t: fix trivial &&-chain breakage
These are tests which are missing a link in their &&-chain, but during a setup phase. We may fail to notice failure in commands that build the test environment, but these are typically not expected to fail at all (but it's still good to double-check that our test environment is what we expect). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3010-ls-files-killed-modified.sh')
-rwxr-xr-xt/t3010-ls-files-killed-modified.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t3010-ls-files-killed-modified.sh b/t/t3010-ls-files-killed-modified.sh
index ea6a678377..62fce103f9 100755
--- a/t/t3010-ls-files-killed-modified.sh
+++ b/t/t3010-ls-files-killed-modified.sh
@@ -62,7 +62,7 @@ test_expect_success 'git update-index --add to add various paths.' '
cd submod$i && git commit --allow-empty -m "empty $i"
) || break
done &&
- git update-index --add submod[12]
+ git update-index --add submod[12] &&
(
cd submod1 &&
git commit --allow-empty -m "empty 1 (updated)"