diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-06-18 11:16:56 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-06-18 11:16:56 -0700 |
commit | e09151281ded5e05ee64e67e5d20529953c23b65 (patch) | |
tree | c6ef6e2026e82dacd498e251761dfa9a5c8147b9 /t | |
parent | f159bdd48d870b7797229205751ca2dcfa70f57c (diff) | |
parent | efad1a5615e80637dcb38c8eaa1e35c03b24169f (diff) | |
download | git-e09151281ded5e05ee64e67e5d20529953c23b65.tar.gz |
Merge branch 'cb/ls-files-cdup'
* cb/ls-files-cdup:
ls-files: allow relative pathspec
quote.c: separate quoting and relative path generation
Diffstat (limited to 't')
-rwxr-xr-x | t/t7010-setup.sh | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/t/t7010-setup.sh b/t/t7010-setup.sh index d8a7c79852..0335a9a158 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 ' |