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");
}
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
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)");
}
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)");
}