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

Parent Directory Parent Directory | Revision Log Revision Log


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

1 mszeredi 4 #!/usr/bin/perl
2     use test::helper qw($_real $_point);
3     use Test::More;
4     plan tests => 3;
5     chdir($_real);
6     system("echo frog >file");
7     chdir($_point);
8     ok(open(FILE,"file"),"open");
9     my ($data) = <FILE>;
10     close(FILE);
11     is(length($data),5,"right amount read");
12     is($data,"frog\n","right data read");
13     unlink("file");

  ViewVC Help
Powered by ViewVC 1.1.26