summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-06-18 11:16:56 -0700
committerJunio C Hamano <gitster@pobox.com>2010-06-18 11:16:56 -0700
commite09151281ded5e05ee64e67e5d20529953c23b65 (patch)
treec6ef6e2026e82dacd498e251761dfa9a5c8147b9 /t
parentf159bdd48d870b7797229205751ca2dcfa70f57c (diff)
parentefad1a5615e80637dcb38c8eaa1e35c03b24169f (diff)
downloadgit-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-xt/t7010-setup.sh12
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
'