/[fuse.before_github]/perl-llin/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

Annotation of /perl-llin/test/readlink.t

Parent Directory Parent Directory | Revision Log Revision Log


Revision 21 - (hide annotations)
Mon Jan 2 19:50:33 2006 UTC (17 years, 1 month ago) by dpavlin
File MIME type: application/x-troff
File size: 300 byte(s)
working copy
1 mszeredi 4 #!/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