summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2012-09-07 00:41:01 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-09-06 16:19:58 -0700
commit3efe5d1d32fde899b23ebbb1fde499a0897e1c4e (patch)
tree5bfe709bf2c890f6160f73ba1bd00aeda6d03e40 /t
parentt0060: verify that real_path() fails if passed the empty string (diff)
downloadtgif-3efe5d1d32fde899b23ebbb1fde499a0897e1c4e.tar.xz
real_path(): reject the empty string
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-xt/t0060-path-utils.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0060-path-utils.sh b/t/t0060-path-utils.sh
index 1118056a1f..fab5ea28b2 100755
--- a/t/t0060-path-utils.sh
+++ b/t/t0060-path-utils.sh
@@ -144,7 +144,7 @@ test_expect_success 'absolute path rejects the empty string' '
test_must_fail test-path-utils absolute_path ""
'
-test_expect_failure 'real path rejects the empty string' '
+test_expect_success 'real path rejects the empty string' '
test_must_fail test-path-utils real_path ""
'