diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2010-06-24 17:44:49 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-06-25 10:08:24 -0700 |
commit | 335f87871fe5aa6b3fd55b2b4e80f16fe9681483 (patch) | |
tree | ee61e99a05ab572c8301abd633bbebca84188205 /t/t2102-update-index-symlinks.sh | |
parent | fadb5156e485e9d25c89d4b4f96c2d4fe6db6187 (diff) | |
download | git-335f87871fe5aa6b3fd55b2b4e80f16fe9681483.tar.gz |
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-x | t/t2102-update-index-symlinks.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t2102-update-index-symlinks.sh b/t/t2102-update-index-symlinks.sh index 1ed44ee503..4d0d0a3515 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' |