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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5 - (show annotations)
Thu Dec 29 16:22:43 2005 UTC (18 years, 4 months ago) by unknown_user
File MIME type: application/x-troff
File size: 310 byte(s)
[vcp] create branch 'fuse'
1 #!/usr/bin/perl
2 use test::helper qw($_real $_point);
3 use Test::More;
4 plan tests => 5;
5 chdir($_point);
6 system("echo hippity >womble");
7 ok(-f "womble","exists");
8 is(-s "womble",8,"right size");
9 ok(truncate("womble",4),"truncate");
10 ok(-f "womble","file exists");
11 is(-s "womble",4,"right size");
12 unlink("womble");

  ViewVC Help
Powered by ViewVC 1.1.26