projects
/
perl-fuse.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
When testing, check if '/proc/mounts' exists. (by Bojan Petrovic)
[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
system("touch file");
7
ok(-f "file","file exists");
8
chdir($_real);
9
ok(-f "file","file really exists");
10
chdir($_point);
11
unlink("file");
12
ok(! -f "file","file unlinked");
13
chdir($_real);
14
ok(! -f "file","file really unlinked");