Changeset 17539 for trunk/Nebulous-Server/t/07_server_find_instances.t
- Timestamp:
- May 6, 2008, 12:12:07 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/t/07_server_find_instances.t
r17072 r17539 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 07_server_find_instances.t,v 1.1 0 2008-03-20 21:10:14jhoblitt Exp $5 # $Id: 07_server_find_instances.t,v 1.11 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 => 1 5;10 use Test::More tests => 17; 11 11 12 12 use lib qw( ./t ./lib ); … … 55 55 56 56 my $locations = $neb->find_instances('foo', 'node01'); 57 58 uri_scheme_ok($locations->[0], 'file'); 59 is($uri, $locations->[0], "URIs match"); 60 } 61 62 Test::Nebulous->setup; 63 64 { 65 # key, volume 66 my $uri = $neb->create_object('foo', 'node01'); 67 68 my $locations = $neb->find_instances('foo', undef); 57 69 58 70 uri_scheme_ok($locations->[0], 'file');
Note:
See TracChangeset
for help on using the changeset viewer.
