Imported Upstream version 3.3.0
[debian/amanda] / installcheck / amvault.pl
index 370b23be10b615380ab44d860e76aff81964c760..b8a3971fe6db89355bedd67b3f89d7050470513a 100644 (file)
@@ -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";