21_win32.t: provide reason why file is skipped

Following example of dist/IO/t/io_pipe.t.
This commit is contained in:
James E Keenan 2024-06-20 21:36:29 +00:00
parent 822f020a4a
commit bc63a9bf6c

View File

@ -14,7 +14,8 @@ use warnings;
my $file = "tf21-$$.txt";
unless ($^O =~ /^(MSWin32|dos)$/) {
print "1..0\n";
my $reason = 'not Win32';
print "1..0 # Skip: $reason\n";
exit;
}