IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 2, 2005, 4:26:59 PM (21 years ago)
Author:
jhoblitt
Message:

add Nebulous::Client->open_create()
change Nebulous::Client->create() to return just a filename

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/t/11_client_create.t

    r4440 r5662  
    33# Copryight (C) 2004-2005  Joshua Hoblitt
    44#
    5 # $Id: 11_client_create.t,v 1.4 2005-06-30 02:35:06 jhoblitt Exp $
     5# $Id: 11_client_create.t,v 1.5 2005-12-03 02:26:59 jhoblitt Exp $
    66
    77use strict;
     
    2828    );
    2929
    30     my $fh = $neb->create( "foo" );
     30    my $filename = $neb->create( "foo" );
    3131
    32     is( ref $fh, 'GLOB', "good filehandle" );
     32    ok( -e $filename, "good filename" );
    3333}
    3434
     
    4141    );
    4242
    43     my $fh = $neb->create( "foo", 0 );
     43    my $filename = $neb->create( "foo", 0 );
    4444
    45     is( ref $fh, 'GLOB', "good filehandle" );
     45    ok( -e $filename, "good filename" );
    4646}
    4747
     
    5454    );
    5555
    56     my $fh = $neb->create( "foo", 0, "node01" );
     56    my $filename = $neb->create( "foo", 0, "node01" );
    5757
    58     is( ref $fh, 'GLOB', "good filehandle" );
     58    ok( -e $filename, "good filename" );
    5959}
    6060
     
    6767    );
    6868
    69     my $fh = $neb->create( "foo", 0, "node01", "this is foo" );
     69    my $filename = $neb->create( "foo", 0, "node01", "this is foo" );
    7070
    71     is( ref $fh, 'GLOB', "good filehandle" );
     71    ok( -e $filename, "good filename" );
    7272}
    7373
Note: See TracChangeset for help on using the changeset viewer.