mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	Merge pull request #5901 from immarvin/ontest
refine diff cases according to latest code
This commit is contained in:
		@@ -13,7 +13,7 @@ start:xcat_inventory_diff_without_option
 | 
			
		||||
description:This case is used to test xcat-inventory diff without option, should be error
 | 
			
		||||
label:others,inventory_ci
 | 
			
		||||
cmd:xcat-inventory diff
 | 
			
		||||
check:output=~Error: No valid source type!
 | 
			
		||||
check:output=~Backend not initialized, please initialize the backend with
 | 
			
		||||
check:rc!=0
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
@@ -45,7 +45,7 @@ start:xcat_inventory_diff_filename
 | 
			
		||||
description:This case is used to test xcat-inventory diff filename, should be error
 | 
			
		||||
label:others,inventory_ci
 | 
			
		||||
cmd:xcat-inventory diff --filename test_filename
 | 
			
		||||
check:output=~Error: No valid source type!
 | 
			
		||||
check:output=~Backend not initialized, please initialize the backend with
 | 
			
		||||
check:rc!=0
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user