2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00

Testcase improvement for diskless_kdump

This commit is contained in:
Mark Gurevich 2022-02-18 13:19:04 -05:00
parent 1076feeedb
commit 2cca0b0345

View File

@ -63,9 +63,8 @@ check:rc==0
check:output=~Provision node\(s\)\: $$CN
# Verify kdump related attributes showup in tftpboot file and file was changed
cmd:ls -l /tftpboot/boot/grub2/$$CN
cmd:cat /tftpboot/boot/grub2/$$CN
check:output=dump
cmd:if [[ "__GETNODEATTR($$CN,arch)__" = "x86_64" ]]; then cat /tftpboot/xcat/xnba/nodes/$$CN; else cat /tftpboot/boot/grub2/$$CN; fi
check:output=~dump
cmd:sleep 300
cmd:a=0;while ! `lsdef -l $$CN|grep status|grep booted >/dev/null`; do sleep 10;((a++));if [ $a -gt 60 ];then break;fi done