Skip to content

Commit a0ba37e

Browse files
committed
t5580: enable UNC path tests also for lower-case drive letters
UNC path tests are run only when the trash directory is on a path that can be mangled into an UNC path. For this, a drive letter is necessary. The protection checks only for upper-case drive letters, but lower-case drive letters work just fine as well. Signed-off-by: Johannes Sixt <j6t@kdbg.org>
1 parent 806f5ff commit a0ba37e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

t/t5580-unc-paths.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fi
1919

2020
UNCPATH="$(winpwd)"
2121
case "$UNCPATH" in
22-
[A-Z]:*)
22+
[A-Za-z]:*)
2323
# Use administrative share e.g. \\localhost\C$\git-sdk-64\usr\src\git
2424
# (we use forward slashes here because MSYS2 and Git accept them, and
2525
# they are easier on the eyes)

0 commit comments

Comments
 (0)