projects
/
perl-fuse.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Various changes to tests and Makefile.
[perl-fuse.git]
/
test
/
read.t
1
#!/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");