X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft7010-setup.sh;h=0335a9a158ab507b2e37e4d7642a69ba4344c0ad;hb=9cb16a92d7c069b36f7b7b08557f779de499d3f7;hp=d8a7c798525728ddc8fc5fa9bd8335d8d1f0a710;hpb=04bf4483eab68301f44b912b3364db6d07542c72;p=git.git diff --git a/t/t7010-setup.sh b/t/t7010-setup.sh index d8a7c7985..0335a9a15 100755 --- a/t/t7010-setup.sh +++ b/t/t7010-setup.sh @@ -103,14 +103,10 @@ test_expect_success 'git ls-files (relative #3)' ' git add a && ( cd a/b && - if git ls-files "../e/f" - then - echo Gaah, should have failed - exit 1 - else - : happy - fi - ) + git ls-files "../e/f" + ) >current && + echo ../e/f >expect && + test_cmp expect current '