Changeset 18454 for trunk/Nebulous/t/65_client_mounts.t
- Timestamp:
- Jul 9, 2008, 4:38:24 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/Nebulous/t/65_client_mounts.t (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous/t/65_client_mounts.t
r17081 r18454 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 65_client_mounts.t,v 1. 1 2008-03-21 01:53:36jhoblitt Exp $5 # $Id: 65_client_mounts.t,v 1.2 2008-07-10 02:38:24 jhoblitt Exp $ 6 6 7 7 use strict; … … 10 10 use Apache::Test qw( -withtestmore ); 11 11 12 plan tests => 1 6;12 plan tests => 18; 13 13 14 14 use lib qw( ./t ./lib ); … … 33 33 my %row; 34 34 # first row 35 @row{qw(mountpoint total used vol_id name path allocate available xattr)}35 @row{qw(mountpoint total used vol_id name host path allocate available xattr)} 36 36 = @{$mounts->[0]}; 37 37 … … 40 40 is($row{vol_id}, 1); 41 41 is($row{name}, "node01"); 42 is($row{host}, "node01"); 42 43 is($row{allocate}, 1); 43 44 is($row{available}, 1); … … 45 46 46 47 # 2nd row 47 @row{qw(mountpoint total used vol_id name path allocate available xattr)}48 @row{qw(mountpoint total used vol_id name host path allocate available xattr)} 48 49 = @{$mounts->[1]}; 49 50 … … 52 53 is($row{vol_id}, 2); 53 54 is($row{name}, "node02"); 55 is($row{host}, "node02"); 54 56 is($row{allocate}, 1); 55 57 is($row{available}, 1);
Note:
See TracChangeset
for help on using the changeset viewer.
