summaryrefslogtreecommitdiffstats
path: root/t/t6040-tracking-info.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2011-09-13 18:13:58 +0200
committerJunio C Hamano <gitster@pobox.com>2011-09-13 19:11:39 +0200
commit376eb14a05f693378047eee36a10035c122f0261 (patch)
tree2eb35327a9c06e9971d9e761c184ae4a3b86e46f /t/t6040-tracking-info.sh
parentbranch: -v does not automatically imply --list (diff)
downloadgit-376eb14a05f693378047eee36a10035c122f0261.tar.xz
git-376eb14a05f693378047eee36a10035c122f0261.zip
t3200: clean up checks for file existence
This patch uses test_path_is_file and test_path_is_missing instead of "test -f / ! test -f" checks. The former are more verbose in case of failure and more precise (e.g., is_missing will check that the entry is actually missing, not just not a regular file). As a bonus, this also fixes a few buggy tests that used "test foo" instead of "test -f foo", and consequently always reported success. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6040-tracking-info.sh')
0 files changed, 0 insertions, 0 deletions