From 2228d8159f9d40cfc7b8b20441692111b7f84baf Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=A9za=20G=C3=A9mes?= Date: Sat, 25 Mar 2017 20:28:55 +0100 Subject: [PATCH] Introduce cirros-separate-kernel-pv test MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This test is the cirros equivalent of the busybox-pv test Signed-off-by: Géza Gémes Reviewed-by: Stefano Stabellini --- 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 <