summaryrefslogtreecommitdiff
path: root/t/test-lib-functions.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2014-10-10 02:07:00 -0400
committerJunio C Hamano <gitster@pobox.com>2014-10-13 11:27:07 -0700
commitf1dd90bd193637eeef772890c37afe3529a665d0 (patch)
tree08cf8958dad47bcdb34c56851c28883478145436 /t/test-lib-functions.sh
parent63a45136a329bab550425c3142db6071434d935e (diff)
downloadgit-f1dd90bd193637eeef772890c37afe3529a665d0.tar.gz
t5304: use test_path_is_* instead of "test -f"
This is slightly more robust (checking "! test -f" would not notice a directory of the same name, though that is not likely to happen here). It also makes debugging easier, as the test script will output a message on failure. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/test-lib-functions.sh')
0 files changed, 0 insertions, 0 deletions