summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-02-03 14:16:06 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-02-03 14:16:06 -0800
commite01c6b15c97e30baedc45021e6dcbd90140616cd (patch)
treeef740ad7bbef152f294149f3ad10f95de0919025 /t
parentMerge branch 'pw/completion-stash' (diff)
parentmingw: avoid linking to the C library's isalpha() (diff)
downloadtgif-e01c6b15c97e30baedc45021e6dcbd90140616cd.tar.xz
Merge branch 'js/dirname-basename'
dirname() emulation has been added, as Msys2 lacks it. * js/dirname-basename: mingw: avoid linking to the C library's isalpha() t0060: loosen overly strict expectations t0060: verify that basename() and dirname() work as expected compat/basename.c: provide a dirname() compatibility function compat/basename: make basename() conform to POSIX Refactor skipping DOS drive prefixes
Diffstat (limited to 't')
-rwxr-xr-xt/t0060-path-utils.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/t0060-path-utils.sh b/t/t0060-path-utils.sh
index 627ef854d5..f0152a7ab4 100755
--- a/t/t0060-path-utils.sh
+++ b/t/t0060-path-utils.sh
@@ -59,6 +59,9 @@ case $(uname -s) in
;;
esac
+test_expect_success basename 'test-path-utils basename'
+test_expect_success dirname 'test-path-utils dirname'
+
norm_path "" ""
norm_path . ""
norm_path ./ ""