3 # There are few filetest operators that are portable enough to test.
4 # See pod/perlport.pod for details.
12 print "not " unless -d 'op';
15 print "not " unless -f 'TEST';
18 print "not " if -f 'op';
21 print "not " if -d 'TEST';
24 print "not " unless -r 'TEST';
27 print "not " if -w 'TEST';
30 # Scripts are not -x everywhere.
32 print "not " unless -r 'op';
35 print "not " unless -w 'op';
38 print "not " unless -x 'op'; # Hohum. Are directories -x everywhere?
41 print "not " unless "@{[grep -r, qw(foo io noo op zoo)]}" eq "io op";