/[fuse.before_github]/perl/branches/fuse/test/link.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/branches/fuse/test/link.t

Parent Directory Parent Directory | Revision Log Revision Log


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

1 #!/usr/bin/perl
2 use test::helper qw($_real $_point);
3 use Test::More;
4 plan tests => 8;
5 chdir($_point);
6 system("echo hippity >womble");
7 ok(-f "womble","exists");
8 ok(!-f "rabbit","target file doesn't exist");
9 is(-s "womble",8,"right size");
10 ok(link("womble","rabbit"),"link");
11 ok(-f "womble","old file exists");
12 ok(-f "rabbit","target file exists");
13 is(-s "womble",8,"right size");
14 is(-s "rabbit",8,"right size");
15 unlink("womble");
16 unlink("rabbit");

  ViewVC Help
Powered by ViewVC 1.1.26