Changeset 5662 for trunk/Nebulous-Server
- Timestamp:
- Dec 2, 2005, 4:26:59 PM (21 years ago)
- Location:
- trunk/Nebulous-Server
- Files:
-
- 1 added
- 2 edited
-
Changes (modified) (1 diff)
-
t/11_client_create.t (modified) (5 diffs)
-
t/11_client_open_create.t (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/Changes
r5661 r5662 2 2 3 3 0.02 4 - add Nebulous::Client->open_create() 5 - change Nebulous::Client->create() to return just a filename 4 6 - [nebclient] add nebOpenCreate() 5 7 - [nebclient] change nebCreate() to return just a filename -
trunk/Nebulous-Server/t/11_client_create.t
r4440 r5662 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 11_client_create.t,v 1. 4 2005-06-30 02:35:06jhoblitt Exp $5 # $Id: 11_client_create.t,v 1.5 2005-12-03 02:26:59 jhoblitt Exp $ 6 6 7 7 use strict; … … 28 28 ); 29 29 30 my $f h= $neb->create( "foo" );30 my $filename = $neb->create( "foo" ); 31 31 32 is( ref $fh, 'GLOB', "good filehandle" );32 ok( -e $filename, "good filename" ); 33 33 } 34 34 … … 41 41 ); 42 42 43 my $f h= $neb->create( "foo", 0 );43 my $filename = $neb->create( "foo", 0 ); 44 44 45 is( ref $fh, 'GLOB', "good filehandle" );45 ok( -e $filename, "good filename" ); 46 46 } 47 47 … … 54 54 ); 55 55 56 my $f h= $neb->create( "foo", 0, "node01" );56 my $filename = $neb->create( "foo", 0, "node01" ); 57 57 58 is( ref $fh, 'GLOB', "good filehandle" );58 ok( -e $filename, "good filename" ); 59 59 } 60 60 … … 67 67 ); 68 68 69 my $f h= $neb->create( "foo", 0, "node01", "this is foo" );69 my $filename = $neb->create( "foo", 0, "node01", "this is foo" ); 70 70 71 is( ref $fh, 'GLOB', "good filehandle" );71 ok( -e $filename, "good filename" ); 72 72 } 73 73
Note:
See TracChangeset
for help on using the changeset viewer.
