> Do any of the tests care about if the file is sparse or not? I suspect they 
> do not.

I initially made it a sparse file using "dd ... count=0 seek={size}" which was 
equivalent although your truncate command is more readable.

I don't think any of the test cares if a file is sparse. However, I was worried 
that tests might not be happy if they start with existing data from an earlier 
test.
If there are no calls to add_image(..., create=True) with an existing path, I 
guess we can go for the sparse file.
-- 
https://code.launchpad.net/~curtin-dev/curtin/+git/curtin/+merge/442650
Your team curtin developers is subscribed to branch curtin:master.


-- 
Mailing list: https://launchpad.net/~curtin-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~curtin-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to