/[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 4 - (show annotations)
Thu Nov 11 14:44:15 2004 UTC (19 years, 4 months ago) by mszeredi
File MIME type: application/x-troff
File size: 300 byte(s)
Initial revision

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