avoid cpan indexing of test::helper
[perl-fuse.git] / test / truncate.t
index 8607421..0e9ceab 100644 (file)
@@ -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");