Changeset 13269 for trunk/Nebulous/t/03_server_create_object.t
- Timestamp:
- May 4, 2007, 3:41:29 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/Nebulous/t/03_server_create_object.t (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous/t/03_server_create_object.t
r13206 r13269 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 03_server_create_object.t,v 1.1 7 2007-05-04 00:43:44jhoblitt Exp $5 # $Id: 03_server_create_object.t,v 1.18 2007-05-05 01:41:29 jhoblitt Exp $ 6 6 7 7 use strict; 8 8 use warnings FATAL => qw( all ); 9 9 10 use Test::More tests => 2 2;10 use Test::More tests => 28; 11 11 12 12 use lib qw( ./t ./lib ); … … 17 17 use Test::URI; 18 18 use URI::Split qw( uri_split ); 19 use File::ExtAttr qw( getfattr ); 19 20 20 21 my $neb = Nebulous::Server->new( … … 33 34 ok(-e $path, "file exists"); 34 35 uri_scheme_ok($uri, 'file'); 36 37 is(getfattr($path, 'nebulous_key'), 'foo', 'nebulous_key xattr'); 35 38 } 36 39 … … 44 47 ok(-e $path, "file exists"); 45 48 uri_scheme_ok($uri, 'file'); 49 50 is(getfattr($path, 'nebulous_key'), '/foo', 'nebulous_key xattr'); 46 51 } 47 52 … … 55 60 ok(-e $path, "file exists"); 56 61 uri_scheme_ok($uri, 'file'); 62 63 is(getfattr($path, 'nebulous_key'), '/foo/', 'nebulous_key xattr'); 57 64 } 58 65 … … 66 73 ok(-e $path, "file exists"); 67 74 uri_scheme_ok($uri, 'file'); 75 76 is(getfattr($path, 'nebulous_key'), 'foo/', 'nebulous_key xattr'); 68 77 } 69 78 … … 77 86 ok(-e $path, "file exists"); 78 87 uri_scheme_ok($uri, 'file'); 88 89 is(getfattr($path, 'nebulous_key'), 'foo/bar', 'nebulous_key xattr'); 79 90 } 80 91 … … 88 99 ok(-e $path, "file exists"); 89 100 uri_scheme_ok($uri, 'file'); 101 102 is(getfattr($path, 'nebulous_key'), '/foo/bar', 'nebulous_key xattr'); 90 103 } 91 104
Note:
See TracChangeset
for help on using the changeset viewer.
