/[fuse.before_github]/perl/trunk/test/readlink.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /perl/trunk/test/readlink.t

Parent Directory Parent Directory | Revision Log Revision Log


Revision 98 - (show annotations)
Tue Jan 3 16:45:51 2006 UTC (18 years, 2 months ago) by dpavlin
File MIME type: application/x-troff
File size: 300 byte(s)
subversion revision 71 commited to CVS

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");

  ViewVC Help
Powered by ViewVC 1.1.26