mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-30 19:02:27 +00:00 
			
		
		
		
	Testcase improvement for diskless_kdump
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user