]> xenbits.xensource.com Git - people/royger/osstest.git/commitdiff
osstest: add prototypes to target_install_packages{_norec}
authorRoger Pau Monne <roger.pau@citrix.com>
Wed, 13 Jun 2018 07:40:14 +0000 (09:40 +0200)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 21 Jun 2018 15:54:03 +0000 (16:54 +0100)
No functional change.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
Changes since v5:
 - New in this version.

Osstest/TestSupport.pm

index 4019dc118c7f9f6227791d4ca8b3bb21187535b7..fbe301c9a31b667fc773146b718cb504e7e867f1 100644 (file)
@@ -532,11 +532,11 @@ sub target_run_apt {
         "DEBIAN_PRIORITY=critical UCF_FORCE_CONFFOLD=y \\
             with-lock-ex -w /var/lock/osstest-apt apt-get @aptopts", 3000);
 }
-sub target_install_packages {
+sub target_install_packages ($@) {
     my ($ho, @packages) = @_;
     target_run_apt($ho, qw(-y install), @packages);
 }
-sub target_install_packages_norec {
+sub target_install_packages_norec ($@) {
     my ($ho, @packages) = @_;
     target_run_apt($ho, qw(--no-install-recommends -y install), @packages);
 }