Changeset 17753 for trunk/Nebulous-Server/t/07_server_find_instances.t
- Timestamp:
- May 19, 2008, 3:47:08 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/t/07_server_find_instances.t
r17539 r17753 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 07_server_find_instances.t,v 1.1 1 2008-05-06 22:10:58 jhoblitt Exp $5 # $Id: 07_server_find_instances.t,v 1.12 2008-05-20 01:47:08 jhoblitt Exp $ 6 6 7 7 use strict; 8 8 use warnings FATAL => qw( all ); 9 9 10 use Test::More tests => 1 7;10 use Test::More tests => 19; 11 11 12 12 use lib qw( ./t ./lib ); … … 75 75 76 76 { 77 # key, volume 78 my $uri = $neb->create_object('foo', 'node01'); 79 80 my $locations = $neb->find_instances('neb://node02/foo', ":any"); 81 82 uri_scheme_ok($locations->[0], 'file'); 83 is($uri, $locations->[0], "URIs match"); 84 } 85 86 Test::Nebulous->setup; 87 88 { 77 89 # key 78 90 my $uri1 = $neb->create_object("foo");
Note:
See TracChangeset
for help on using the changeset viewer.
