From 9005fb470a0aec22bbae35d20ec1214ff6ec7810 Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Wed, 8 Aug 2018 13:14:26 +0800 Subject: [PATCH] Fix test case go_xcat_noinput. Ignore the exit code of gpg installation --- xCAT-test/autotest/testcase/go-xcat/case1 | 1 - 1 file changed, 1 deletion(-) diff --git a/xCAT-test/autotest/testcase/go-xcat/case1 b/xCAT-test/autotest/testcase/go-xcat/case1 index 94a19105f..4c9afcd1c 100644 --- a/xCAT-test/autotest/testcase/go-xcat/case1 +++ b/xCAT-test/autotest/testcase/go-xcat/case1 @@ -7,7 +7,6 @@ check:rc!=0 cmd:if xdsh $$CN "grep \"Red Hat\" /etc/*release >/dev/null"; then xdsh $$CN "yum install -y yum-utils bzip2"; fi check:rc==0 cmd:if grep Ubuntu /etc/*release;then xdsh $$CN "apt-get install -y gpg"; fi -check:rc==0 cmd:xdsh $$CN "cd /; rm -rf /go-xcat" check:rc==0 cmd:xdsh $$CN "cd /; scp -r $$MN:/opt/xcat/share/xcat/tools/go-xcat ./"