Patchwork [v3,10/16] boot-order-test: Cover -boot once in ppc tests

login
register
mail settings
Submitter Markus Armbruster
Date June 14, 2013, 11:15 a.m.
Message ID <1371208516-7857-11-git-send-email-armbru@redhat.com>
Download mbox | patch
Permalink /patch/251363/
State New
Headers show

Comments

Markus Armbruster - June 14, 2013, 11:15 a.m.
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>
---
 tests/boot-order-test.c | 1 +
 1 file changed, 1 insertion(+)
Anthony Liguori - June 14, 2013, 1:50 p.m.
Markus Armbruster <armbru@redhat.com> writes:

> 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>

Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>

Regards,

Anthony Liguori

> ---
>  tests/boot-order-test.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/tests/boot-order-test.c b/tests/boot-order-test.c
> index c1cc2a6..f6dece6 100644
> --- a/tests/boot-order-test.c
> +++ b/tests/boot-order-test.c
> @@ -113,6 +113,7 @@ static void test_powermac_boot_order(void)
>          test_powermac_with_args(newworld, "", 'c', 'c');
>          test_powermac_with_args(newworld, "-boot c", 'c', 'c');
>          test_powermac_with_args(newworld, "-boot d", 'd', 'd');
> +        test_powermac_with_args(newworld, "-boot once=d,order=c", 'd', 'c');
>      }
>  }
>  
> -- 
> 1.7.11.7

Patch

diff --git a/tests/boot-order-test.c b/tests/boot-order-test.c
index c1cc2a6..f6dece6 100644
--- a/tests/boot-order-test.c
+++ b/tests/boot-order-test.c
@@ -113,6 +113,7 @@  static void test_powermac_boot_order(void)
         test_powermac_with_args(newworld, "", 'c', 'c');
         test_powermac_with_args(newworld, "-boot c", 'c', 'c');
         test_powermac_with_args(newworld, "-boot d", 'd', 'd');
+        test_powermac_with_args(newworld, "-boot once=d,order=c", 'd', 'c');
     }
 }