new file mode 100644
@@ -0,0 +1,24 @@
+#!/usr/bin/env bash
+
+set -e
+
+function cirros-pygrub-pv-cleanup() {
+ tear_down_cirros_test $testdir
+}
+
+function cirros-pygrub-pv-test() {
+ testdir=`mktemp -d`
+ set_up_cirros_disk $testdir
+ cat >$testdir/cirros-pygrub-pv.cfg <<EOF
+name = "raisin-test"
+memory = 128
+vcpus = 2
+bootloader = "pygrub"
+disk = [ '$testdir/$CIRROS_DISK_FILE,raw,xvda,rw' ]
+extra = "root=/dev/xvda1"
+vif = [ 'bridge=xenbr1' ]
+EOF
+
+ $SUDO xl create $testdir/cirros-pygrub-pv.cfg
+ check_guest_alive
+}
@@ -2,3 +2,4 @@ busybox-pv
busybox-hvm
busybox-hvm-migrate
cirros-separate-kernel-pv
+cirros-pygrub-pv
This test verifies booting the cirros image using pygrub Signed-off-by: Géza Gémes <geza.gemes@gmail.com> --- tests/cirros-pygrub-pv | 24 ++++++++++++++++++++++++ tests/series | 1 + 2 files changed, 25 insertions(+) create mode 100644 tests/cirros-pygrub-pv