IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 27, 2005, 5:48:41 PM (21 years ago)
Author:
jhoblitt
Message:

->open( $foo, 'write') is not allowed when object has multiple instances

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/t/18_client_open.t

    r4440 r4638  
    33# Copryight (C) 2004-2005  Joshua Hoblitt
    44#
    5 # $Id: 18_client_open.t,v 1.2 2005-06-30 02:35:06 jhoblitt Exp $
     5# $Id: 18_client_open.t,v 1.3 2005-07-28 03:48:41 jhoblitt Exp $
    66
    77use strict;
     
    1010use Apache::Test qw( -withtestmore );
    1111
    12 plan tests => 7;
     12plan tests => 8;
    1313
    1414use lib qw( ./t ./lib );
     
    6868Test::Nebulous->setup;
    6969
     70{
     71    my $neb = Nebulous::Client->new(
     72        proxy => "http://$hostport/nebulous",
     73    );
     74    $neb->create( "foo" );
     75    $neb->replicate( "foo" );
     76
     77    is( $neb->open( "foo", 'write' ), undef,
     78        "write to object with multiple instances" );
     79}
     80
     81Test::Nebulous->setup;
     82
    7083eval {
    7184    my $neb = Nebulous::Client->new(
Note: See TracChangeset for help on using the changeset viewer.