qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] hd-geo-test creates 4GB files on FSes that don't support sparse images, doesn't delete them on error
@ 2015-08-27 15:17 Peter Maydell
  2015-08-27 15:29 ` Eric Blake
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Maydell @ 2015-08-27 15:17 UTC (permalink / raw)
  To: QEMU Developers; +Cc: John Snow, Markus Armbruster, Qemu-block

I've noticed recently that tests/hd-geo-test.c creates test disk
images which are 4GB in size, which is a problem if the filesystem
on the host doesn't support sparse files. In particular, OSX's HFS+
doesn't have sparse file support, and Windows probably doesn't either.
Worse, if the test fails an assertion somewhere the test doesn't
clean up after itself and leaves a 4GB file lying around in /tmp/.

It would be nice if we could skip these tests on filesystems that
don't have sparse file support...

thanks
-- PMM

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-09-01  6:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-27 15:17 [Qemu-devel] hd-geo-test creates 4GB files on FSes that don't support sparse images, doesn't delete them on error Peter Maydell
2015-08-27 15:29 ` Eric Blake
2015-08-27 16:48   ` John Snow
2015-08-28 13:06     ` Markus Armbruster
2015-08-31 18:54       ` John Snow
2015-08-31 19:25         ` Peter Maydell
2015-09-01  6:02         ` Markus Armbruster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).