2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 03:32:04 +00:00

Merge pull request #7273 from gurevichmark/apt_key_test3

Use correct string compare operator for testcase
This commit is contained in:
besawn 2022-10-27 15:48:00 -04:00 committed by GitHub
commit 3d88b70d81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,7 @@ cmd:if [[ "$$OS" =~ "ubuntu" ]]; then xdsh $$CN "apt-key list"; else xdsh $$CN "
check:output=~xCAT Automatic Signing Key
#Remove public key on non-Ubuntu system. It was installed during go-xcat RPM installs
cmd:if [[ "$$OS" !~ "ubuntu" ]]; then xdsh $$CN "rpm -e gpg-pubkey-ca548a47-5b2c830b"; fi
cmd:if [[ "$$OS" != "ubuntu" ]]; then xdsh $$CN "rpm -e gpg-pubkey-ca548a47-5b2c830b"; fi
cmd:xdsh $$CN "service xcatd stop"
end