[blivet] make it possible to run blivet's unit tests again

David Lehman dlehman at redhat.com
Mon Feb 17 16:11:21 UTC 2014


On Fri, 2014-02-14 at 17:13 -0800, Brian C. Lane wrote:
> On Fri, Feb 14, 2014 at 12:42:33PM -0600, David Lehman wrote:
> > It might be worthwhile to do more than skip that udev test when
> > /dev/loop1 is not present, but I'm not sure. I'd be open to using
> > another block device that is more likely to be there, eg: sda.
> 
> We should just make sparse loopback disks for testing. Anything that
> looks like a real system disk is bound to eat your system eventually.

That is a better solution in a sense but it would require root
privileges to run this (read-only) test.



More information about the anaconda-patches mailing list