9 use File::Spec::Functions;
17 # first check for stupid permissions second for full, so we clean up
19 for my $perm (0111,0777) {
20 my $path = catdir(curdir(), "mhx", "bar");
22 chmod $perm, "mhx", $path;
24 print "not " unless -d "mhx" && -d $path;
25 print "ok ", ++$count, "\n";
28 print "not " if -e "mhx";
29 print "ok ", ++$count, "\n";