projects
/
perl-fuse.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add fix for RT #71271.
[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
open($file, '>','file');
7
print $file "frog\n";
8
close($file);
9
chdir($_point);
10
ok(open(FILE,"file"),"open");
11
my ($data) = <FILE>;
12
close(FILE);
13
is(length($data),5,"right amount read");
14
is($data,"frog\n","right data read");
15
unlink("file");