projects
/
perl-fuse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
avoid cpan indexing of test::helper
[perl-fuse.git]
/
test
/
truncate.t
diff --git
a/test/truncate.t
b/test/truncate.t
index
8607421
..
0e9ceab
100644
(file)
--- a/
test/truncate.t
+++ b/
test/truncate.t
@@
-3,7
+3,9
@@
use test::helper qw($_real $_point);
use Test::More;
plan tests => 5;
chdir($_point);
-system("echo hippity >womble");
+open($file, '>', 'womble');
+print $file "hippity\n";
+close($file);
ok(-f "womble","exists");
is(-s "womble",8,"right size");
ok(truncate("womble",4),"truncate");