tests/backup: use round volume size
When handling LVM volumes, size must be multiply of 4MB.
This commit is contained in:
		
							parent
							
								
									e938aa61ab
								
							
						
					
					
						commit
						f2d79b9379
					
				@ -89,9 +89,9 @@ class BackupTestsMixin(qubes.tests.SystemTestsMixin):
 | 
			
		||||
        f.seek(0)
 | 
			
		||||
 | 
			
		||||
        for block_num in range(size/block_size):
 | 
			
		||||
            f.write('a' * block_size)
 | 
			
		||||
            if sparse:
 | 
			
		||||
                f.seek(block_size, 1)
 | 
			
		||||
            f.write('a' * block_size)
 | 
			
		||||
 | 
			
		||||
        f.close()
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user