projects
/
perl-fuse.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
NetBSD 5.1, not 5.0.
[perl-fuse.git]
/
test
/
chmod.t
1
#!/usr/bin/perl
2
use test::helper qw($_real $_point);
3
use Test::More;
4
plan tests => 4;
5
chdir($_point);
6
system("echo frog >file");
7
ok(chmod(0644,"file"),"set unexecutable");
8
ok(!-x "file","unexecutable");
9
ok(chmod(0755,"file"),"set executable");
10
ok(-x "file","executable");
11
unlink("file");