Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-10-16 10:16:01 +0300
committerJunio C Hamano <gitster@pobox.com>2018-10-16 10:16:01 +0300
commitf2e2136ad7291524a2b67a179dea493f4a562453 (patch)
treeb20e888167a8b13ee47b77bee41fc2b08cf17034 /t/t0000-basic.sh
parentfb468f0b1c3b65c01d25e78e612ff54cf2b588e3 (diff)
parent8d6ba49563600d8e65c7f56fb0f29e23a571a75f (diff)
Merge branch 'md/test-cleanup'
Various test scripts have been updated for style and also correct handling of exit status of various commands. * md/test-cleanup: tests: order arguments to git-rev-list properly t9109: don't swallow Git errors upstream of pipes tests: don't swallow Git errors upstream of pipes t/*: fix ordering of expected/observed arguments tests: standardize pipe placement Documentation: add shell guidelines t/README: reformat Do, Don't, Keep in mind lists
Diffstat (limited to 't/t0000-basic.sh')
-rwxr-xr-xt/t0000-basic.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0000-basic.sh b/t/t0000-basic.sh
index 391f910c6a..26601e698b 100755
--- a/t/t0000-basic.sh
+++ b/t/t0000-basic.sh
@@ -1097,7 +1097,7 @@ test_expect_success 'validate git diff-files output for a know cache/work tree s
:120000 120000 $(test_oid subp3s) $ZERO_OID M path3/subp3/file3sym
EOF
git diff-files >current &&
- test_cmp current expected
+ test_cmp expected current
'
test_expect_success 'git update-index --refresh should succeed' '