X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=installcheck%2Famcheckdump.pl;h=7e7d97a64a92365efff745e8bd82dd5d8d8a797a;hb=441dd72d27c13b97098a519388e6c194b16519f0;hp=e4c28e7afc8134f7e005a900ef3734a1b8cc903b;hpb=d5853102f67d85d8e169f9dbe973ad573306c215;p=debian%2Famanda diff --git a/installcheck/amcheckdump.pl b/installcheck/amcheckdump.pl index e4c28e7..7e7d97a 100644 --- a/installcheck/amcheckdump.pl +++ b/installcheck/amcheckdump.pl @@ -1,4 +1,4 @@ -# Copyright (c) 2007,2008 Zmanda, Inc. All Rights Reserved. +# Copyright (c) 2007-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 @@ -17,6 +17,8 @@ # Sunnyvale, CA 94086, USA, or: http://www.zmanda.com use Test::More tests => 9; +use strict; +use warnings; use lib "@amperldir@"; use Installcheck::Config; @@ -72,7 +74,7 @@ like(run_get('amcheckdump', 'TESTCONF'), qr(Validating), my $vtape1 = Installcheck::Run::vtape_dir(1); opendir(my $vtape_dir, $vtape1) || die "can't opendir $vtape1: $!"; -@dump1 = grep { /^0+1/ } readdir($vtape_dir); +my @dump1 = grep { /^0+1/ } readdir($vtape_dir); closedir $vtape_dir; for my $dumpfile (@dump1) {