/[fuse-comp]/t/fs.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /t/fs.t

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 18 by dpavlin, Mon Jul 9 15:41:01 2007 UTC revision 25 by dpavlin, Mon Jul 9 22:44:20 2007 UTC
# Line 4  use warnings; Line 4  use warnings;
4    
5  my $debug = shift @ARGV;  my $debug = shift @ARGV;
6    
7  use Test::More tests => 727;  use Test::More tests => 744;
8  use File::Slurp;  use File::Slurp;
9  use IO::File;  use IO::File;
10    
# Line 164  sub multiple_rw { Line 164  sub multiple_rw {
164          ok( unlink("$to/n"), "$to/n unlink" );          ok( unlink("$to/n"), "$to/n unlink" );
165          ok( ! -e "$to/n", "$to/n gone" );          ok( ! -e "$to/n", "$to/n gone" );
166    
167            {
168                    ok( my $fh1 = IO::File->new(">> $to/h"), "open $to/h" );
169                    ok( print($fh1 "foobar"), "print" );
170                    ok( unlink("$to/h"), 'create .fuse_hidden' );
171                    ok( ! -e "$to/h", "$to/h gone" );
172                    dump_debug 'hidden';
173                    ok( print($fh1 "foobar"), "print to hidden" );
174                    ok( close($fh1), "close $to/h" );
175                    diag $!;
176            }
177  }  }
178    
179  multiple_rw;  multiple_rw;

Legend:
Removed from v.18  
changed lines
  Added in v.25

  ViewVC Help
Powered by ViewVC 1.1.26