We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 138e540 commit 8412159Copy full SHA for 8412159
1 file changed
t/file.t
@@ -52,12 +52,12 @@ file(
52
);
53
54
my %stats = Rex::Commands::Fs::stat($filename);
55
-#pgpif ( is_windows() && $^O ne "cygwin" ) {
56
-#pgp is( $stats{mode}, "0666", "windows without chmod" );
57
-#pgp}
58
-#pgpelse {
+if ( is_windows() && $^O ne "cygwin" ) {
+ is( $stats{mode}, "0666", "windows without chmod" );
+}
+else {
59
is( $stats{mode}, "0777", "fs chmod ok" );
60
61
62
my $changed = 0;
63
my $content = cat($filename);
0 commit comments