Changeset 13273 for trunk/Nebulous-Server/t/03_server_create_object.t
- Timestamp:
- May 4, 2007, 4:25:09 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/Nebulous-Server/t/03_server_create_object.t (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/t/03_server_create_object.t
r13269 r13273 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 03_server_create_object.t,v 1.1 8 2007-05-05 01:41:29 jhoblitt Exp $5 # $Id: 03_server_create_object.t,v 1.19 2007-05-05 02:25:09 jhoblitt Exp $ 6 6 7 7 use strict; … … 12 12 use lib qw( ./t ./lib ); 13 13 14 use File::ExtAttr qw( getfattr ); 14 15 use Nebulous::Server; 15 16 use Nebulous::Util qw( :standard ); … … 17 18 use Test::URI; 18 19 use URI::Split qw( uri_split ); 19 use File::ExtAttr qw( getfattr );20 20 21 21 my $neb = Nebulous::Server->new( … … 35 35 uri_scheme_ok($uri, 'file'); 36 36 37 is(getfattr($path, ' nebulous_key'), 'foo', 'nebulous_key xattr');37 is(getfattr($path, 'user.nebulous_key'), 'foo', 'user.nebulous_key xattr'); 38 38 } 39 39 … … 48 48 uri_scheme_ok($uri, 'file'); 49 49 50 is(getfattr($path, ' nebulous_key'), '/foo', 'nebulous_key xattr');50 is(getfattr($path, 'user.nebulous_key'), '/foo', 'user.nebulous_key xattr'); 51 51 } 52 52 … … 61 61 uri_scheme_ok($uri, 'file'); 62 62 63 is(getfattr($path, ' nebulous_key'), '/foo/', 'nebulous_key xattr');63 is(getfattr($path, 'user.nebulous_key'), '/foo/', 'user.nebulous_key xattr'); 64 64 } 65 65 … … 74 74 uri_scheme_ok($uri, 'file'); 75 75 76 is(getfattr($path, ' nebulous_key'), 'foo/', 'nebulous_key xattr');76 is(getfattr($path, 'user.nebulous_key'), 'foo/', 'user.nebulous_key xattr'); 77 77 } 78 78 … … 87 87 uri_scheme_ok($uri, 'file'); 88 88 89 is(getfattr($path, ' nebulous_key'), 'foo/bar', 'nebulous_key xattr');89 is(getfattr($path, 'user.nebulous_key'), 'foo/bar', 'user.nebulous_key xattr'); 90 90 } 91 91 … … 100 100 uri_scheme_ok($uri, 'file'); 101 101 102 is(getfattr($path, ' nebulous_key'), '/foo/bar', 'nebulous_key xattr');102 is(getfattr($path, 'user.nebulous_key'), '/foo/bar', 'user.nebulous_key xattr'); 103 103 } 104 104
Note:
See TracChangeset
for help on using the changeset viewer.
