From: "Géza Gémes" <geza.gemes@gmail.com>
To: xen-devel@lists.xenproject.org, sstabellini@kernel.org
Cc: george.dunlap@citrix.com, "Géza Gémes" <geza.gemes@gmail.com>
Subject: [PATCH 03/10] Introduce cirros-separate-kernel-pv test
Date: Sat, 25 Mar 2017 20:28:55 +0100 [thread overview]
Message-ID: <1490470142-9032-4-git-send-email-geza.gemes@gmail.com> (raw)
In-Reply-To: <1490470142-9032-1-git-send-email-geza.gemes@gmail.com>
This test is the cirros equivalent of the busybox-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..fab5856
--- /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_test $testdir
+}
+
+function cirros-separate-kernel-pv-test() {
+ download_cirros_components
+ testdir=`mktemp -d`
+ cp $CIRROS_DOWNLOADS/$CIRROS_KERNEL_FILE $testdir
+ cp $CIRROS_DOWNLOADS/$CIRROS_INITRD_FILE $testdir
+ cp $CIRROS_DOWNLOADS/$CIRROS_ROOTFS_FILE $testdir
+ cat >$testdir/cirros-separate-kernel-pv.cfg <<EOF
+name = "raisin-test"
+memory = 128
+vcpus = 2
+kernel = "$testdir/$CIRROS_KERNEL_FILE"
+ramdisk = "$testdir/$CIRROS_INITRD_FILE"
+disk = [ '$testdir/$CIRROS_ROOTFS_FILE,raw,xvda,rw' ]
+extra = "root=/dev/xvda"
+vif = [ 'bridge=xenbr1' ]
+EOF
+
+ $SUDO xl create $testdir/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-25 19:29 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-25 19:28 [raisin][PATCH 00/10] pygrub fix + cirros tests Géza Gémes
2017-03-25 19:28 ` [PATCH 01/10] Fix installation of python libs Géza Gémes
2017-03-27 17:08 ` Stefano Stabellini
2017-03-25 19:28 ` [PATCH 02/10] Introduce cirros tests Géza Gémes
2017-03-27 17:11 ` Stefano Stabellini
2017-03-25 19:28 ` Géza Gémes [this message]
2017-03-27 17:12 ` [PATCH 03/10] Introduce cirros-separate-kernel-pv test Stefano Stabellini
2017-03-25 19:28 ` [PATCH 04/10] Introduce cirros-pygrub-pv test Géza Gémes
2017-03-27 17:13 ` Stefano Stabellini
2017-03-25 19:28 ` [PATCH 05/10] Introduce cirros-pvgrub2-pv test Géza Gémes
2017-03-27 17:13 ` Stefano Stabellini
2017-03-27 17:24 ` Stefano Stabellini
2017-03-27 18:38 ` Gémes Géza
2017-03-27 18:42 ` Stefano Stabellini
2017-03-25 19:28 ` [PATCH 06/10] Introduce cirros-qemu-hvm test Géza Gémes
2017-03-27 17:16 ` Stefano Stabellini
2017-03-25 19:28 ` [PATCH 07/10] Introduce cirros-minios-stubdom-hvm test Géza Gémes
2017-03-27 17:16 ` Stefano Stabellini
2017-03-25 19:29 ` [PATCH 08/10] Introduce cirros-qemu-pvhvm test Géza Gémes
2017-03-27 17:17 ` Stefano Stabellini
2017-03-25 19:29 ` [PATCH 09/10] Introduce cirros-minios-stubdom-pvhvm test Géza Gémes
2017-03-27 17:17 ` Stefano Stabellini
2017-03-25 19:29 ` [PATCH 10/10] Enable cirros tests in the default config Géza Gémes
-- strict thread matches above, loose matches on Subject: below --
2017-03-18 14:00 [raisin][PATCH 00/10] Introduce usage of cirros images Géza Gémes
2017-03-18 14:00 ` [PATCH 03/10] Introduce cirros-separate-kernel-pv test Géza Gémes
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=1490470142-9032-4-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).