Skip to content

Commit 8412159

Browse files
committed
Windows test back
caused by circular Rex::Hardware::Network
1 parent 138e540 commit 8412159

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

t/file.t

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ file(
5252
);
5353

5454
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 {
55+
if ( is_windows() && $^O ne "cygwin" ) {
56+
is( $stats{mode}, "0666", "windows without chmod" );
57+
}
58+
else {
5959
is( $stats{mode}, "0777", "fs chmod ok" );
60-
#pgp}
60+
}
6161

6262
my $changed = 0;
6363
my $content = cat($filename);

0 commit comments

Comments
 (0)