Changeset 17539 for trunk/Nebulous-Server/t/03_server_create_object.t
- Timestamp:
- May 6, 2008, 12:12:07 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/Nebulous-Server/t/03_server_create_object.t (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/t/03_server_create_object.t
r17072 r17539 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 03_server_create_object.t,v 1.2 5 2008-03-20 21:10:14jhoblitt Exp $5 # $Id: 03_server_create_object.t,v 1.26 2008-05-06 22:10:58 jhoblitt Exp $ 6 6 7 7 use strict; 8 8 use warnings FATAL => qw( all ); 9 9 10 use Test::More tests => 67;10 use Test::More tests => 70; 11 11 12 12 use lib qw( ./t ./lib ); … … 251 251 Test::Nebulous->setup; 252 252 253 { 254 # undef volume name 255 # OK because the undef is ignored 256 my $uri = $neb->create_object("neb://node01/foo", undef); 257 258 my ($scheme, $auth, $path, $query, $frag) = uri_split($uri); 259 ok(-e $path, "file exists"); 260 ok($neb->find_instances("foo"), 'object key exists'); 261 uri_scheme_ok($uri, 'file'); 262 } 263 264 Test::Nebulous->setup; 265 253 266 eval { 254 267 $neb->create_object("foo");
Note:
See TracChangeset
for help on using the changeset viewer.
