projects
/
perl-fuse.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial revision
[perl-fuse.git]
/
test
/
readlink.t
1
#!/usr/bin/perl
2
use test::helper qw($_point $_real);
3
use Test::More;
4
plan tests => 4;
5
chdir($_real);
6
ok(symlink("abc","def"),"OS supports symlinks");
7
is(readlink("def"),"abc","OS supports symlinks");
8
chdir($_point);
9
ok(-l "def","symlink exists");
10
is(readlink("def"),"abc","readlink");
11
unlink("def");