mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-30 19:02:27 +00:00 
			
		
		
		
	git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10188 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
		
			
				
	
	
		
			40 lines
		
	
	
		
			763 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			763 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| start:unregnotif_null
 | |
| description:unregnotif with no argument
 | |
| cmd:unregnotif
 | |
| check:output=~Usage
 | |
| end
 | |
| 
 | |
| 
 | |
| start:unregnotif_f
 | |
| description:unregnotif with a argument filename
 | |
| cmd:echo "hello" > test.pm
 | |
| check:rc==0
 | |
| cmd:regnotif test.pm nodelist -o a,d
 | |
| check:rc==0
 | |
| cmd:tabdump notification
 | |
| check:rc==0
 | |
| check:output=~"test.pm","nodelist","a,d"
 | |
| cmd:unregnotif test.pm
 | |
| check:rc==0
 | |
| cmd:tabdump notification
 | |
| check:output!~test.pm","nodelist","a,d"
 | |
| cmd:rm -f test.pm
 | |
| end
 | |
| 
 | |
| 
 | |
| start:unregnotif_h
 | |
| description:unregnotif -h and -help
 | |
| cmd:unregnotif -h
 | |
| check:output=~Usage
 | |
| cmd:unregnotif -help
 | |
| check:output=~Usage
 | |
| end
 | |
| 
 | |
| start:unregnotif_v
 | |
| description:unregnotif -v and -version
 | |
| cmd:unregnotif -v
 | |
| check:output=~version|Version
 | |
| cmd:unregnotif -version
 | |
| check:output=~version|Version
 | |
| end
 |