boot-order-test: Better separate target-specific and generic parts
authorMarkus Armbruster <armbru@redhat.com>
Wed, 26 Jun 2013 13:52:18 +0000 (15:52 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 18 Jul 2013 18:27:47 +0000 (13:27 -0500)
commitaea6a16907ca377d450d344dddda8456f87d5c0b
treeba34fdfd1ce9e1497ef587ea6af4fde4fa01fb2e
parent995b0e136fca7786657c5b63fa094032114615e3
boot-order-test: Better separate target-specific and generic parts

The initial version did just PC.  I didn't bother to separate out
generic parts, because I don't like to abstract from a single case.

Now we have two cases, PC and PowerMac, and I'm about to add more.
Time to do it right.

To ease review, this commit changes the code in-place, and the next
commit reorders it for better readability.

Cc: Andreas Färber <afaerber@suse.de>
Cc: Alexander Graf <agraf@suse.de>
Cc: qemu-ppc@nongnu.org
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-id: 1372254743-15808-8-git-send-email-armbru@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
tests/boot-order-test.c