mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-07-24 21:31:11 +00:00
Merge pull request #2363 from caomengmeng/update_latest_version
update sles and redhat migration test case latest version check method
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
start:redhat_migration1
|
||||
os:Linux
|
||||
description:update xCAT from $$MIGRATION1_VERSION to $$LATEST_VERSION, these two global parameter defined in config file
|
||||
description:update xCAT from $$MIGRATION1_VERSION to latest version, these two global parameter defined in config file
|
||||
|
||||
#cmd:if ping -c 1 $$SN > /dev/null;then rpower $$SN off > /dev/null;fi
|
||||
#cmd:chdef -t node -o $$CN servicenode= monserver=$$MN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN
|
||||
@@ -103,14 +103,13 @@ cmd:xdsh $$CN "lsdef"
|
||||
check:output=~node0001
|
||||
cmd:xdsh $$CN "noderm node0001"
|
||||
check:rc==0
|
||||
cmd:xdsh $$CN "lsxcatd -v"
|
||||
cmd:latest_version_info=`lsxcatd -v`;xdsh $$CN "lsxcatd -v" | grep "$latest_version_info"
|
||||
check:rc==0
|
||||
check:output=~$$LATEST_VERSION
|
||||
end
|
||||
|
||||
start:redhat_migration2
|
||||
os:Linux
|
||||
description:update xCAT from $$MIGRATION2_VERSION to $$LATEST_VERSION, these two global parameter defined in config file
|
||||
description:update xCAT from $$MIGRATION2_VERSION to latest version, these two global parameter defined in config file
|
||||
stop:yes
|
||||
|
||||
#cmd:if ping -c 1 $$SN > /dev/null;then rpower $$SN off > /dev/null;fi
|
||||
@@ -214,8 +213,7 @@ cmd:xdsh $$CN "lsdef"
|
||||
check:output=~node0001
|
||||
cmd:xdsh $$CN "noderm node0001"
|
||||
check:rc==0
|
||||
cmd:xdsh $$CN "lsxcatd -v"
|
||||
cmd:latest_version_info=`lsxcatd -v`;xdsh $$CN "lsxcatd -v" | grep "$latest_version_info"
|
||||
check:rc==0
|
||||
check:output=~$$LATEST_VERSION
|
||||
end
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
start:sles_migration1
|
||||
os:Linux
|
||||
description:update xCAT from $$MIGRATION1_VERSION to $$LATEST_VERSION, these two global parameter defined in config file
|
||||
description:update xCAT from $$MIGRATION1_VERSION to latest version, these two global parameter defined in config file
|
||||
|
||||
#cmd:if ping -c 1 $$SN > /dev/null;then rpower $$SN off > /dev/null;fi
|
||||
#cmd:chdef -t node -o $$CN servicenode= monserver=$$MN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN
|
||||
@@ -106,14 +106,13 @@ cmd:xdsh $$CN "lsdef"
|
||||
check:output=~node0001
|
||||
cmd:xdsh $$CN "noderm node0001"
|
||||
check:rc==0
|
||||
cmd:xdsh $$CN "lsxcatd -v"
|
||||
cmd:latest_version_info=`lsxcatd -v`;xdsh $$CN "lsxcatd -v" | grep "$latest_version_info"
|
||||
check:rc==0
|
||||
check:output=~$$LATEST_VERSION
|
||||
end
|
||||
|
||||
start:sles_migration2
|
||||
os:Linux
|
||||
description:update xCAT from $$MIGRATION22VERSION to $$LATEST_VERSION, these two global parameter defined in config file
|
||||
description:update xCAT from $$MIGRATION22VERSION to latest version, these two global parameter defined in config file
|
||||
|
||||
#cmd:if ping -c 1 $$SN > /dev/null;then rpower $$SN off > /dev/null;fi
|
||||
#cmd:chdef -t node -o $$CN servicenode= monserver=$$MN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN
|
||||
@@ -219,8 +218,7 @@ cmd:xdsh $$CN "lsdef"
|
||||
check:output=~node0001
|
||||
cmd:xdsh $$CN "noderm node0001"
|
||||
check:rc==0
|
||||
cmd:xdsh $$CN "lsxcatd -v"
|
||||
cmd:latest_version_info=`lsxcatd -v`;xdsh $$CN "lsxcatd -v" | grep "$latest_version_info"
|
||||
check:rc==0
|
||||
check:output=~$$LATEST_VERSION
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user