]> xenbits.xensource.com Git - people/liuw/osstest.git/commitdiff
Osstest: Default config: Use foreach for empty defaults
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 6 Mar 2015 15:27:46 +0000 (10:27 -0500)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 24 Mar 2015 18:53:52 +0000 (18:53 +0000)
No functional change, but makes adding new empty defaults shorter.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Osstest.pm

index 6d7c083c654c17d9710f3861bf92cb0a5cdf3a31..7a49591473095dee0a5fc0ee28244b76dcb9a026 100644 (file)
@@ -74,7 +74,9 @@ our %c = qw(
     DebianNonfreeFirmware firmware-bnx2
 );
 
-$c{DebianPreseed} = '';
+$c{$_}='' foreach qw(
+    DebianPreseed
+);
 
 #---------- general setup and config reading ----------