Changeset 18389 for trunk/Nebulous-Server/t/15_mounts.t
- Timestamp:
- Jun 30, 2008, 2:28:07 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/Nebulous-Server/t/15_mounts.t (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/t/15_mounts.t
r17077 r18389 3 3 # Copryight (C) 2008 Joshua Hoblitt 4 4 # 5 # $Id: 15_mounts.t,v 1. 1 2008-03-21 01:25:21jhoblitt Exp $5 # $Id: 15_mounts.t,v 1.2 2008-07-01 00:28:07 jhoblitt Exp $ 6 6 7 7 use strict; 8 8 use warnings FATAL => qw( all ); 9 9 10 use Test::More tests => 1 6;10 use Test::More tests => 18; 11 11 12 12 use lib qw( ./t ./lib ); … … 32 32 my %row; 33 33 # first row 34 @row{qw(mountpoint total used vol_id name path allocate available xattr)}34 @row{qw(mountpoint total used vol_id name host path allocate available xattr)} 35 35 = @{$mounts->[0]}; 36 36 … … 39 39 is($row{vol_id}, 1); 40 40 is($row{name}, "node01"); 41 is($row{host}, "node01"); 41 42 is($row{allocate}, 1); 42 43 is($row{available}, 1); … … 44 45 45 46 # 2nd row 46 @row{qw(mountpoint total used vol_id name path allocate available xattr)}47 @row{qw(mountpoint total used vol_id name host path allocate available xattr)} 47 48 = @{$mounts->[1]}; 48 49 … … 51 52 is($row{vol_id}, 2); 52 53 is($row{name}, "node02"); 54 is($row{host}, "node02"); 53 55 is($row{allocate}, 1); 54 56 is($row{available}, 1);
Note:
See TracChangeset
for help on using the changeset viewer.
