IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 30, 2008, 2:28:07 PM (18 years ago)
Author:
jhoblitt
Message:

add volume.host field

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/t/15_mounts.t

    r17077 r18389  
    33# Copryight (C) 2008  Joshua Hoblitt
    44#
    5 # $Id: 15_mounts.t,v 1.1 2008-03-21 01:25:21 jhoblitt Exp $
     5# $Id: 15_mounts.t,v 1.2 2008-07-01 00:28:07 jhoblitt Exp $
    66
    77use strict;
    88use warnings FATAL => qw( all );
    99
    10 use Test::More tests => 16;
     10use Test::More tests => 18;
    1111
    1212use lib qw( ./t ./lib );
     
    3232    my %row;
    3333    # 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)}
    3535        = @{$mounts->[0]};
    3636   
     
    3939    is($row{vol_id},    1);
    4040    is($row{name},      "node01");
     41    is($row{host},      "node01");
    4142    is($row{allocate},  1);
    4243    is($row{available}, 1);
     
    4445
    4546    # 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)}
    4748        = @{$mounts->[1]};
    4849
     
    5152    is($row{vol_id},    2);
    5253    is($row{name},      "node02");
     54    is($row{host},      "node02");
    5355    is($row{allocate},  1);
    5456    is($row{available}, 1);
Note: See TracChangeset for help on using the changeset viewer.