Skip to content

Commit ff8e050

Browse files
authored
Merge pull request #31 from perl-libwin32/skip-unicode-test-on-cygwin
cwd() on Cygwin64 no longer returns an ANSI (short) path
2 parents 34e05af + 793821e commit ff8e050

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)