Merge branch 'master' of github.com:dpavlin/perl-fuse
[perl-fuse.git] / test / open.t
index 030dc1f..b3afaf6 100644 (file)
@@ -3,7 +3,9 @@ use test::helper qw($_real $_point);
 use Test::More;
 plan tests => 1;
 chdir($_real);
-system("echo frog >file");
+open($file, '>', 'file');
+print $file "frog\n";
+close($file);
 chdir($_point);
 ok(open(FILE,"file"),"open");
 close(FILE);