Skip to content

Commit 793821e

Browse files
committed
cwd() on Cygwin64 no longer returns an ANSI (short) path
So skip the test that tries to convert it to a long path.
1 parent 34e05af commit 793821e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

t/Unicode.t

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ if ($^O eq "cygwin") {
9090
$subdir = Cygwin::posix_to_win_path($subdir, 1);
9191
}
9292
$subdir =~ s,/,\\,g;
93-
ok(Win32::GetLongPathName($subdir), $long);
93+
# Cygwin64 no longer returns an ANSI name
94+
skip($^O eq "cygwin", Win32::GetLongPathName($subdir), $long);
9495

9596
# We can chdir() into the Unicode directory if we use the ANSI name
9697
ok(chdir(Win32::GetANSIPathName($dir)));

0 commit comments

Comments
 (0)