X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=t%2Ft7010-setup.sh;h=0335a9a158ab507b2e37e4d7642a69ba4344c0ad;hb=8f81449e885ab2b9bac09b5b835314d26f107b3f;hp=d8a7c798525728ddc8fc5fa9bd8335d8d1f0a710;hpb=547905f8cd2a04b3e1117f00025b60f81aa60f47;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 '