Changeset 4440 for trunk/Nebulous/scripts/stest.pl
- Timestamp:
- Jun 29, 2005, 4:35:06 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Nebulous/scripts/stest.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous/scripts/stest.pl
r2785 r4440 6 6 use lib "./lib"; 7 7 8 use PS::IPP::IData::Client; # trace => 'debug';8 use Nebulous::Client; # trace => 'debug'; 9 9 10 my $ idata = PS::IPP::IData::Client->new(11 proxy => 'http://localhost:80/ idata'10 my $neb = Nebulous::Client->new( 11 proxy => 'http://localhost:80/nebulous' 12 12 ); 13 13 14 14 my $fname = shift; 15 15 16 #my $fh = $ idata->create( $fname );17 #$ idata->unlock( $fname, 'write' );16 #my $fh = $neb->create( $fname ); 17 #$neb->unlock( $fname, 'write' ); 18 18 19 $ idata->create( $fname, 1 );20 $ idata->unlock( $fname, 'write' );21 $ idata->delete( $fname );19 $neb->create( $fname, 1 ); 20 $neb->unlock( $fname, 'write' ); 21 $neb->delete( $fname ); 22 22 23 23 __END__ … … 28 28 print $fh "fooby\n"; 29 29 close $fh; 30 #$ idata->unlock( $fname, 'write' );30 #$neb->unlock( $fname, 'write' ); 31 31 my $filesize = (stat( $key ))[7]; 32 32 print "created file $key, ${filesize}bytes\n";
Note:
See TracChangeset
for help on using the changeset viewer.
