Imported Upstream version 3.3.2
[debian/amanda] / installcheck / amtapetype.pl
index c1b2040b703a11fe532fc72782c733f646d4e34a..38b70cc501f33b58aacc9a0f60f8ebdea3f7ae80 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2008, 2009, 2010 Zmanda, Inc.  All Rights Reserved.
+# Copyright (c) 2008-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 => 5;
+use strict;
+use warnings;
 
 use lib "@amperldir@";
 use Installcheck::Run qw(run run_get run_err vtape_dir);
@@ -48,5 +50,5 @@ ok(run_err('amtapetype', 'TESTCONF', 'smallvtape'),
     "a second run on the same device fails because -f isn't used") or die;
 
 like(run_get('amtapetype', 'TESTCONF', '-f', '-b', '33000', 'smallvtape'),
-    qr/add device_property/,
+    qr/add device-property/,
     "with a non-kilobyte block size, directs user to add a device_property");