skip "Windows will return the machine name instead of 'localhost'", 2
if $^O eq 'MSWin32' or $^O eq 'NetWare' or $^O eq 'cygwin';
- print "# name = ",$h->name, ", aliases = ", join (",", @{$h->aliases}), "\n";
+ print "# name = " . $h->name . ", aliases = " . join (",", @{$h->aliases}) . "\n";
my $in_alias;
unless ($h->name =~ /^localhost(?:\..+)?$/i) {
}
else {
ok( !$in_alias );
- print "# ",$h->name, " ", join (",", @{$h->aliases}), "\n";
+ print "# " . $h->name . " " . join (",", @{$h->aliases}) . "\n";
}
}
is(chmod($newmode,'a'), 1, "chmod succeeding");
SKIP: {
- skip("no link", 9) unless $has_link;
+ skip("no link", 7) unless $has_link;
($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime,
$blksize,$blocks) = stat('c');