projects
/
perl-fuse.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Update change list.
[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
open($file, '>', 'file');
7
print $file "frog\n";
8
close($file);
9
ok(chmod(0644,"file"),"set unexecutable");
10
ok(!-x "file","unexecutable");
11
ok(chmod(0755,"file"),"set executable");
12
ok(-x "file","executable");
13
unlink("file");