X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=installcheck%2Famvault.pl;h=917d6b4527ee4af20d3bcdfef0800a9768f29c40;hb=949b8910a5e23c4285d0b1aedacfc82a14dc97a5;hp=370b23be10b615380ab44d860e76aff81964c760;hpb=b116e9366c7b2ea2c2eb53b0a13df4090e176235;p=debian%2Famanda diff --git a/installcheck/amvault.pl b/installcheck/amvault.pl index 370b23b..917d6b4 100644 --- a/installcheck/amvault.pl +++ b/installcheck/amvault.pl @@ -1,4 +1,4 @@ -# Copyright (c) 2010 Zmanda, Inc. All Rights Reserved. +# Copyright (c) 2010-2012 Zmanda, Inc. All Rights Reserved. # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 as published @@ -96,7 +96,6 @@ ok(run("$sbindir/amvault", 'TESTCONF'), "amvault runs!") or diag($Installcheck::Run::stderr); - my @tert_files = glob("$vtape_root/slot1/0*"); ok(@tert_files > 0, "..and files appear on the tertiary volume!"); @@ -237,6 +236,7 @@ EOF }; Amanda::MainLoop::call_later(sub { $chg->inventory(inventory_cb => $inventory_cb); }); Amanda::MainLoop::run(); + $chg->quit(); # find TESTCONF02 in the inventory, and check that it is in an i/e slot my $notfound = "tertiary volume not found";