It doesn't, so mark the test as failing.

Signed-off-by: Michael Haggerty <mhag...@alum.mit.edu>
---
 t/t0060-path-utils.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/t/t0060-path-utils.sh b/t/t0060-path-utils.sh
index c8db144..d91e516 100755
--- a/t/t0060-path-utils.sh
+++ b/t/t0060-path-utils.sh
@@ -140,6 +140,10 @@ test_expect_success 'strip_path_suffix' '
                c:/msysgit/libexec//git-core libexec/git-core)
 '
 
+test_expect_failure 'absolute path rejects the empty string' '
+       test_must_fail test-path-utils absolute_path ""
+'
+
 test_expect_success SYMLINKS 'real path works as expected' '
        mkdir first &&
        ln -s ../.git first/.git &&
-- 
1.7.11.3

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to