On Mon, 2012-07-09 at 12:01 +0200, Harald Hoyer wrote:
Am 09.07.2012 10:43, schrieb Richard W.M. Jones:
> On Mon, Jul 09, 2012 at 09:44:16AM +0200, Harald Hoyer wrote:
>> Do not install dracut-020-51!
>>
>> Sorry for those, who have been bitten by dracut-020-51. Instead of installing
to
>> the /var/tmp/initramfs.* directory, it installed in your real root.
>
> Is there an automated regression test in dracut that will catch this
> if it happens in future?
>
> Rich.
>
Let me work with the autoqa team to generate such an automated test.
AutoQA wouldn't be a great place for it, really, it's more for testing
stuff that _can't_ be tested as part of an application's build process.
Unit testing is a key part of good development practice, and AutoQA
isn't meant to replace it.
(I see from the follow up that you did add a test to dracut's own test
suite, which is exactly right, but posting just so as to preserve that
paragraph of wise instruction for future generations ;>)
--
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net