Imported Upstream version 2.6.0p2
[debian/amanda] / installcheck / Amanda_Config.pl
index 8a2193595240c1e26fc6334b74c8e2b97f695f02..5a0bb2254fb879bbd3a544f7d9aeff144253efe5 100644 (file)
@@ -159,7 +159,7 @@ SKIP: { # tapetypes
     ok(!tapetype_seen($ttyp, $TAPETYPE_LBL_TEMPL),
        "tapetype lbl_templ was not seen");
 
-    is_deeply([ sort(getconf_list("tapetype")) ],
+    is_deeply([ sort(+getconf_list("tapetype")) ],
              [ sort("mytapetype", "TEST-TAPE") ],
        "getconf_list lists all tapetypes");
 }
@@ -205,7 +205,7 @@ SKIP: { # dumptypes
     ok(!dumptype_seen($dtyp, $DUMPTYPE_RECORD),
        "'record' parm was not seen");
 
-    is_deeply([ sort(getconf_list("dumptype")) ],
+    is_deeply([ sort(+getconf_list("dumptype")) ],
              [ sort(qw(
                mydumptype
                NO-COMPRESS COMPRESS-FAST COMPRESS-BEST COMPRESS-CUST
@@ -233,7 +233,7 @@ SKIP: { # interfaces
     ok(!interface_seen($iface, $INTER_MAXUSAGE),
        "seen not set for parameters that did not appear");
 
-    is_deeply([ sort(getconf_list("interface")) ],
+    is_deeply([ sort(+getconf_list("interface")) ],
              [ sort('inyoface', 'inherface', 'default') ],
        "getconf_list lists all interfaces (in any order)");
 }
@@ -271,7 +271,7 @@ SKIP: { # holdingdisks
     ok(!holdingdisk_next($hdisk),
        "no third holding disk");
 
-    is_deeply([ sort(getconf_list("holdingdisk")) ],
+    is_deeply([ sort(+getconf_list("holdingdisk")) ],
              [ sort('hd1', 'hd2') ],
        "getconf_list lists all holdingdisks (in any order)");
 }