2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 17:46:38 +00:00

Merge pull request #7111 from gurevichmark/diskless_kdump_testcase_for_all

Testcase improvement for diskless_kdump
This commit is contained in:
besawn 2022-02-18 13:24:36 -05:00 committed by GitHub
commit a15d4b038f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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