Pārlūkot izejas kodu

HDDS-1071. Make Ozone s3 acceptance test suite centos compatible. Contributed by Elek Marton.

Bharat Viswanadham 6 gadi atpakaļ
vecāks
revīzija
75e8441c61

+ 5 - 0
hadoop-ozone/dist/src/main/smoketest/s3/commonawslib.robot

@@ -39,7 +39,12 @@ Execute AWSS3Cli
 Install aws cli
 Install aws cli
     ${rc}              ${output} =                 Run And Return Rc And Output           which apt-get
     ${rc}              ${output} =                 Run And Return Rc And Output           which apt-get
     Run Keyword if     '${rc}' == '0'              Install aws cli s3 debian
     Run Keyword if     '${rc}' == '0'              Install aws cli s3 debian
+    ${rc}              ${output} =                 Run And Return Rc And Output           yum --help
+    Run Keyword if     '${rc}' == '0'              Install aws cli s3 centos
 
 
+
+Install aws cli s3 centos
+    Execute                    sudo yum install -y awscli
 Install aws cli s3 debian
 Install aws cli s3 debian
     Execute                    sudo apt-get install -y awscli
     Execute                    sudo apt-get install -y awscli