 36b9986b08
			
		
	
	
		36b9986b08
		
	
	
	
	
		
			
			One of the recent commits changed the way qemu-io prints out its
errors and warnings - they are now prefixed with the program name.
We've got to adapt the iotests accordingly to prevent that they
are failing.
Fixes: 99e98d7c9fc1a1639fad ("qemu-io: Use error_[gs]et_progname()")
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
		
	
			
		
			
				
	
	
		
			32 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| QA output created by 075
 | |
| 
 | |
| == check that the first sector can be read ==
 | |
| read 512/512 bytes at offset 0
 | |
| 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 | |
| 
 | |
| == check that the last sector can be read ==
 | |
| read 512/512 bytes at offset 1048064
 | |
| 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 | |
| 
 | |
| == block_size must be a multiple of 512 ==
 | |
| qemu-io: can't open device TEST_DIR/simple-pattern.cloop: block_size 513 must be a multiple of 512
 | |
| 
 | |
| == block_size cannot be zero ==
 | |
| qemu-io: can't open device TEST_DIR/simple-pattern.cloop: block_size cannot be zero
 | |
| 
 | |
| == huge block_size ===
 | |
| qemu-io: can't open device TEST_DIR/simple-pattern.cloop: block_size 4294966784 must be 64 MB or less
 | |
| 
 | |
| == offsets_size overflow ===
 | |
| qemu-io: can't open device TEST_DIR/simple-pattern.cloop: n_blocks 4294967295 must be 536870911 or less
 | |
| 
 | |
| == refuse images that require too many offsets ===
 | |
| qemu-io: can't open device TEST_DIR/simple-pattern.cloop: image requires too many offsets, try increasing block size
 | |
| 
 | |
| == refuse images with non-monotonically increasing offsets ==
 | |
| qemu-io: can't open device TEST_DIR/simple-pattern.cloop: offsets not monotonically increasing at index 1, image file is corrupt
 | |
| 
 | |
| == refuse images with invalid compressed block size ==
 | |
| qemu-io: can't open device TEST_DIR/simple-pattern.cloop: invalid compressed block size at index 1, image file is corrupt
 | |
| *** done
 |