mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-30 02:42:41 +00:00 
			
		
		
		
	git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10016 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
		
			
				
	
	
		
			53 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			53 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| start:nodeadd_null
 | |
| description:nodeadd without any flag
 | |
| cmd:nodeadd
 | |
| check:output=~Usage
 | |
| end
 | |
| 
 | |
| start:nodeadd_noderange
 | |
| cmd:nodeadd testnode1-testnode2 groups="lpar,all" nodetype.nodetype="lpar,osi"
 | |
| check:rc==0
 | |
| cmd:lsdef -i groups,nodetype testnode1
 | |
| check:rc==0
 | |
| check:output=~testnode1
 | |
| check:output=~groups=lpar,all
 | |
| check:output=~nodetype=lpar,osi
 | |
| cmd:lsdef -i groups,nodetype testnode2
 | |
| check:rc==0
 | |
| check:output=~testnode2
 | |
| check:output=~groups=lpar,all
 | |
| check:output=~nodetype=lpar,osi
 | |
| cmd:rmdef -t node -o testnode1-testnode2
 | |
| end
 | |
| 
 | |
| start:nodeadd_noderange_nodetype
 | |
| cmd:nodeadd testnode1-testnode2 groups=all,rhel5 nodetype.os=rhel5
 | |
| check:rc=0
 | |
| cmd:lsdef -i groups,os testnode1
 | |
| check:rc=0
 | |
| check:output=~testnode1
 | |
| check:output=~groups=all,rhel5
 | |
| check:output=~os=rhel5
 | |
| cmd:lsdef -i groups,os testnode2
 | |
| check:rc=0
 | |
| check:output=~groups=all,rhel5
 | |
| check:output=~os=rhel5
 | |
| cmd:rmdef -t node -o testnode1-testnode2
 | |
| end
 | |
| 
 | |
| start:nodeadd_v
 | |
| cmd:nodeadd -v
 | |
| check:output=~Version
 | |
| end
 | |
| 
 | |
| start:nodeadd_h
 | |
| cmd:nodeadd -h
 | |
| check:output=~Usage
 | |
| end
 | |
| 
 | |
| start:nodeadd_err_symbol
 | |
| cmd:nodeadd testnode magt=unknown
 | |
| check:rc!=0
 | |
| check:output=~Error
 | |
| end
 |