mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-21 19:22:05 +00:00
Use correct substring operator in migration testcase
This commit is contained in:
parent
76b3664e71
commit
61bbd59ecf
@ -189,7 +189,7 @@ check:rc==0
|
||||
cmd:xdsh $$CN "zypper -n install xCAT"
|
||||
check:rc==0
|
||||
# Name of createrepo package on sles15 is different from sles12
|
||||
cmd:if [ "__GETNODEATTR($$CN,os)__" = "sle15" ]; then xdsh $$CN "zypper -n install createrepo_c"; else xdsh $$CN "zypper -n install createrepo";fi
|
||||
cmd:if [[ "__GETNODEATTR($$CN,os)__" =~ "sle15" ]]; then xdsh $$CN "zypper -n install createrepo_c"; else xdsh $$CN "zypper -n install createrepo";fi
|
||||
check:rc==0
|
||||
cmd:xdsh $$CN "source /etc/profile.d/xcat.sh"
|
||||
check:rc==0
|
||||
|
Loading…
x
Reference in New Issue
Block a user