aboutsummaryrefslogtreecommitdiff
path: root/t/t2102-update-index-symlinks.sh
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2010-06-24 17:44:49 +0000
committerJunio C Hamano <gitster@pobox.com>2010-06-25 10:08:24 -0700
commit335f87871fe5aa6b3fd55b2b4e80f16fe9681483 (patch)
treeee61e99a05ab572c8301abd633bbebca84188205 /t/t2102-update-index-symlinks.sh
parentfadb5156e485e9d25c89d4b4f96c2d4fe6db6187 (diff)
downloadgit-335f87871fe5aa6b3fd55b2b4e80f16fe9681483.tar.gz
git-335f87871fe5aa6b3fd55b2b4e80f16fe9681483.tar.xz
tests: Say "pass" rather than "ok" on empty lines for TAP
Lines that begin with "ok" confuse the TAP harness because it can't distinguish them from a test counter. Work around the issue by saying "pass" instead, which isn't a reserved TAP word. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2102-update-index-symlinks.sh')
-rwxr-xr-xt/t2102-update-index-symlinks.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t2102-update-index-symlinks.sh b/t/t2102-update-index-symlinks.sh
index 1ed44ee50..4d0d0a351 100755
--- a/t/t2102-update-index-symlinks.sh
+++ b/t/t2102-update-index-symlinks.sh
@@ -24,7 +24,7 @@ git update-index symlink'
test_expect_success \
'the index entry must still be a symbolic link' '
case "`git ls-files --stage --cached symlink`" in
-120000" "*symlink) echo ok;;
+120000" "*symlink) echo pass;;
*) echo fail; git ls-files --stage --cached symlink; (exit 1);;
esac'