projects
/
debian
/
amanda
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lintian doesn't like orphan packages with uploaders...
[debian/amanda]
/
installcheck
/
Amanda_Archive.pl
diff --git
a/installcheck/Amanda_Archive.pl
b/installcheck/Amanda_Archive.pl
index 560f5484933ef489d90bae42cd6a8d02055c7403..d713910e9dfa6bf9adc0459f14f207d321d253d7 100644
(file)
--- a/
installcheck/Amanda_Archive.pl
+++ b/
installcheck/Amanda_Archive.pl
@@
-1,8
+1,9
@@
-# Copyright (c) 200
5-2008 Zmanda
Inc. All Rights Reserved.
+# Copyright (c) 200
8-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
-# by the Free Software Foundation.
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
@@
-13,7
+14,7
@@
# with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
-# Contact information: Zmanda Inc, 465 S
Mathlida Ave
, Suite 300
+# Contact information: Zmanda Inc, 465 S
. Mathilda Ave.
, Suite 300
# Sunnyvale, CA 94086, USA, or: http://www.zmanda.com
use Test::More tests => 20;
# Sunnyvale, CA 94086, USA, or: http://www.zmanda.com
use Test::More tests => 20;
@@
-24,12
+25,13
@@
use warnings;
# library is well-covered by amar-test.
use lib "@amperldir@";
# library is well-covered by amar-test.
use lib "@amperldir@";
+use Installcheck;
use Amanda::Archive;
use Amanda::Paths;
use Data::Dumper;
use Amanda::Archive;
use Amanda::Paths;
use Data::Dumper;
-my $arch_filename = "$
AMANDA_TMPDIR
/amanda_archive.bin";
-my $data_filename = "$
AMANDA_TMPDIR
/some_data.bin";
+my $arch_filename = "$
Installcheck::TMP
/amanda_archive.bin";
+my $data_filename = "$
Installcheck::TMP
/some_data.bin";
my ($fh, $dfh, $ar, $f1, $f2, $a1, $a2, @res, $posn);
# some versions of Test::More will fail tests if the identity
my ($fh, $dfh, $ar, $f1, $f2, $a1, $a2, @res, $posn);
# some versions of Test::More will fail tests if the identity
@@
-244,3
+246,4
@@
is_deeply([@res], [
$ar->close();
unlink($data_filename);
$ar->close();
unlink($data_filename);
+unlink($arch_filename);