mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			44 lines
		
	
	
		
			831 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			831 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| start:unregnotif_null
 | |
| description:unregnotif with no argument
 | |
| label:mn_only,db
 | |
| cmd:unregnotif
 | |
| check:output=~Usage
 | |
| end
 | |
| 
 | |
| 
 | |
| start:unregnotif_f
 | |
| description:unregnotif with a argument filename
 | |
| label:mn_only,db
 | |
| 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
 | |
| label:mn_only,db
 | |
| cmd:unregnotif -h
 | |
| check:output=~Usage
 | |
| cmd:unregnotif -help
 | |
| check:output=~Usage
 | |
| end
 | |
| 
 | |
| start:unregnotif_v
 | |
| description:unregnotif -v and -version
 | |
| label:mn_only,db
 | |
| cmd:unregnotif -v
 | |
| check:output=~version|Version
 | |
| cmd:unregnotif -version
 | |
| check:output=~version|Version
 | |
| end
 |