projects
/
perl-fuse.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'master' of github.com:dpavlin/perl-fuse
[perl-fuse.git]
/
test
/
unlink.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
close($file);
8
ok(-f "file","file exists");
9
chdir($_real);
10
ok(-f "file","file really exists");
11
chdir($_point);
12
unlink("file");
13
ok(! -f "file","file unlinked");
14
chdir($_real);
15
ok(! -f "file","file really unlinked");