Changeset 1305

Show
Ignore:
Timestamp:
10/14/09 22:03:09 (6 weeks ago)
Author:
dormando
Message:

fix host delete test.

accomodate earlier change to make it impossible to delete a host if it has
devices, deleted or not.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/server/t/00-startup.t

    r1286 r1305  
    2121my $sto = eval { temp_store(); }; 
    2222if ($sto) { 
    23     plan tests => 64; 
     23    plan tests => 63; 
    2424} else { 
    2525    plan skip_all => "Can't create temporary test database: $@"; 
     
    260260 
    261261# kill hostB now 
    262 ok($tmptrack->mogadm("host", "delete", "hostB"), "killed hostB"); 
     262# hosts are no longer able to be nuked even if they have deleted devices. 
     263# this saves us from some subtle bugs. 
     264#ok($tmptrack->mogadm("host", "delete", "hostB"), "killed hostB"); 
    263265 
    264266# delete them all, see if they go away.