mirror of
				https://github.com/containers/podman.git
				synced 2025-10-30 17:38:27 +08:00 
			
		
		
		
	 676fcb722f
			
		
	
	676fcb722f
	
	
	
		
			
			Also fix the tests so we can use the podman function with the output. Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
		
			
				
	
	
		
			8 lines
		
	
	
		
			414 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			414 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| # -*- bash -*-
 | |
| 
 | |
| podman container inspect two_networks_con1_1 --format '{{len .NetworkSettings.Networks}}'
 | |
| is "$output" "2" "$testname : Container is connected to both networks"
 | |
| podman container inspect two_networks_con1_1 --format '{{.NetworkSettings.Networks}}'
 | |
| like "$output" "two_networks_net1" "$testname : First network name exists"
 | |
| like "$output" "two_networks_net2" "$testname : Second network name exists"
 |