From: "Géza Gémes" <geza.gemes@gmail.com>
To: xen-devel@lists.xenproject.org
Cc: sstabellini@kernel.org, george.dunlap@citrix.com,
"Géza Gémes" <geza.gemes@gmail.com>
Subject: [PATCH 04/11] Introduce cirros-separate-kernel-pv test
Date: Sun, 19 Mar 2017 16:23:57 +0100 [thread overview]
Message-ID: <1489937044-30856-5-git-send-email-geza.gemes@gmail.com> (raw)
In-Reply-To: <1489937044-30856-1-git-send-email-geza.gemes@gmail.com>
This test is the cirros equivalent of the bussybox-pv test
Signed-off-by: Géza Gémes <geza.gemes@gmail.com>
---
tests/cirros-separate-kernel-pv | 28 ++++++++++++++++++++++++++++
tests/series | 1 +
2 files changed, 29 insertions(+)
create mode 100644 tests/cirros-separate-kernel-pv
diff --git a/tests/cirros-separate-kernel-pv b/tests/cirros-separate-kernel-pv
new file mode 100644
index 0000000..bbbcf7d
--- /dev/null
+++ b/tests/cirros-separate-kernel-pv
@@ -0,0 +1,28 @@
+#!/usr/bin/env bash
+
+set -e
+
+function cirros-separate-kernel-pv-cleanup() {
+ tear_down_cirros_tests $tmpdir
+}
+
+function cirros-separate-kernel-pv-test() {
+ if [[ ! -d $tmpdir ]]
+ then
+ set_up_cirros_tests
+ fi
+ cd $tmpdir
+ cat >cirros-separate-kernel-pv.cfg <<EOF
+name = "raisin-test"
+memory = 128
+vcpus = 2
+kernel = "${tmpdir}/${CIRROS_KERNEL_FILE}"
+ramdisk = "${tmpdir}/${CIRROS_INITRD_FILE}"
+disk = [ '${tmpdir}/${CIRROS_ROOTFS_FILE},raw,xvda,rw' ]
+extra = "root=/dev/xvda"
+vif = [ 'bridge=xenbr1' ]
+EOF
+
+ $SUDO xl create cirros-separate-kernel-pv.cfg
+ check_guest_alive
+}
diff --git a/tests/series b/tests/series
index a2f4b34..38ee35a 100644
--- a/tests/series
+++ b/tests/series
@@ -1,3 +1,4 @@
busybox-pv
busybox-hvm
busybox-hvm-migrate
+cirros-separate-kernel-pv
--
2.7.4
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2017-03-19 15:26 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-19 15:23 [raisin][PATCH 00/11] pygrub fix + cirros tests Géza Gémes
2017-03-19 15:23 ` [PATCH 01/11] Fix installation of python libs Géza Gémes
2017-03-20 23:54 ` Stefano Stabellini
2017-03-21 6:27 ` Géza Gémes
2017-03-21 17:04 ` Stefano Stabellini
2017-03-19 15:23 ` [PATCH 02/11] Fix lopartsetup parsing of fdisk output Géza Gémes
2017-03-20 23:58 ` Stefano Stabellini
2017-03-19 15:23 ` [PATCH 03/11] Introduce cirros tests Géza Gémes
2017-03-21 0:55 ` Stefano Stabellini
2017-03-21 6:34 ` Géza Gémes
2017-03-19 15:23 ` Géza Gémes [this message]
2017-03-21 0:58 ` [PATCH 04/11] Introduce cirros-separate-kernel-pv test Stefano Stabellini
2017-03-19 15:23 ` [PATCH 05/11] Introduce cirros-pygrub-pv test Géza Gémes
2017-03-19 15:23 ` [PATCH 06/11] Introduce cirros-pvgrub2-pv test Géza Gémes
2017-03-19 15:24 ` [PATCH 07/11] Introduce cirros-qemu-hvm test Géza Gémes
2017-03-19 15:24 ` [PATCH 08/11] Introduce cirros-minios-stubdom-hvm test Géza Gémes
2017-03-19 15:24 ` [PATCH 09/11] Introduce cirros-qemu-pvhvm test Géza Gémes
2017-03-19 15:24 ` [PATCH 10/11] Introduce cirros-minios-stubdom-pvhvm test Géza Gémes
2017-03-19 15:24 ` [PATCH 11/11] Enable cirros tests in the default config Géza Gémes
2017-03-21 1:03 ` Stefano Stabellini
2017-03-21 1:01 ` [raisin][PATCH 00/11] pygrub fix + cirros tests Stefano Stabellini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1489937044-30856-5-git-send-email-geza.gemes@gmail.com \
--to=geza.gemes@gmail.com \
--cc=george.dunlap@citrix.com \
--cc=sstabellini@kernel.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).