]> xenbits.xensource.com Git - people/aperard/osstest.git/commitdiff
Osstest/TestSupport: Add centos to package_install_cmd
authorAnthony PERARD <anthony.perard@citrix.com>
Fri, 24 Nov 2017 13:00:05 +0000 (13:00 +0000)
committerAnthony PERARD <anthony.perard@citrix.com>
Mon, 18 Dec 2017 16:47:18 +0000 (16:47 +0000)
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Osstest/TestSupport.pm

index 65324fb780b5fa1ed8c0d7b19d814e708a4e0cf4..13e43609b47980f6b7a3db5363eddb5522fc780d 100644 (file)
@@ -530,6 +530,8 @@ sub package_install_cmd ($;$) {
 
     if ($ho->{OS} eq "freebsd") {
         push @cmd, qw(lockf /var/run/osstest-pkg-lock pkg-static install);
+    } elsif ($ho->{OS} eq "centos") {
+        push @cmd, qw(yum -y install);
     } else {
         push @cmd, qw(DEBIAN_PRIORITY=critical UCF_FORCE_CONFFOLD=y
                       with-lock-ex -w /var/lock/osstest-apt apt-get);