Some of the getcwd() functions don't produce error responses when they
should on Cygwin, which is [perl #132733], and that causes cwd_enoent.t
to fail. Pending actual fix of that bug, just skip this test on Cygwin.
This should allow [perl #132648] to be resolved.
use File::Temp qw(tempdir);
use Test::More;
+if($^O eq "cygwin") {
+ # This test skipping should be removed when the Cygwin bug is fixed.
+ plan skip_all => "getcwd() fails to fail on Cygwin [perl #132733]";
+}
+
my $tmp = tempdir(CLEANUP => 1);
unless(mkdir("$tmp/testdir") && chdir("$tmp/testdir") && rmdir("$tmp/testdir")){
plan skip_all => "can't be in non-existent directory";