|
|
18971c |
From 1e03d8eb646938732e66e0babf93c93f1b466e44 Mon Sep 17 00:00:00 2001
|
|
|
18971c |
From: Harald Hoyer <harald@redhat.com>
|
|
|
18971c |
Date: Tue, 29 Jul 2014 16:27:35 +0200
|
|
|
18971c |
Subject: [PATCH] testsuite mods for kvm nested in kvm
|
|
|
18971c |
|
|
|
18971c |
---
|
|
|
18971c |
test/TEST-01-BASIC/test.sh | 1 +
|
|
|
18971c |
test/TEST-02-SYSTEMD/test.sh | 2 +-
|
|
|
18971c |
test/TEST-03-USR-MOUNT/test.sh | 9 ++++-----
|
|
|
18971c |
test/TEST-12-RAID-DEG/test.sh | 2 +-
|
|
|
18971c |
test/TEST-14-IMSM/test.sh | 2 +-
|
|
|
18971c |
5 files changed, 8 insertions(+), 8 deletions(-)
|
|
|
18971c |
|
|
|
18971c |
diff --git a/test/TEST-01-BASIC/test.sh b/test/TEST-01-BASIC/test.sh
|
|
|
18971c |
index f857fd4c..5ee6d234 100755
|
|
|
18971c |
--- a/test/TEST-01-BASIC/test.sh
|
|
|
18971c |
+++ b/test/TEST-01-BASIC/test.sh
|
|
|
18971c |
@@ -87,6 +87,7 @@ test_setup() {
|
|
|
18971c |
)
|
|
|
18971c |
sudo $basedir/dracut.sh -l -i $TESTDIR/overlay / \
|
|
|
18971c |
-a "debug watchdog" \
|
|
|
18971c |
+ -o "plymouth" \
|
|
|
18971c |
-d "piix ide-gd_mod ata_piix ext3 sd_mod i6300esb ib700wdt" \
|
|
|
18971c |
-f $TESTDIR/initramfs.testing $KVERSION || return 1
|
|
|
18971c |
|
|
|
18971c |
diff --git a/test/TEST-02-SYSTEMD/test.sh b/test/TEST-02-SYSTEMD/test.sh
|
|
|
18971c |
index cc9da27f..2ccf8e69 100755
|
|
|
18971c |
--- a/test/TEST-02-SYSTEMD/test.sh
|
|
|
18971c |
+++ b/test/TEST-02-SYSTEMD/test.sh
|
|
|
18971c |
@@ -83,7 +83,7 @@ test_setup() {
|
|
|
18971c |
)
|
|
|
18971c |
sudo $basedir/dracut.sh -l -i $TESTDIR/overlay / \
|
|
|
18971c |
-a "debug systemd" \
|
|
|
18971c |
- -o "network" \
|
|
|
18971c |
+ -o "network plymouth" \
|
|
|
18971c |
-d "piix ide-gd_mod ata_piix ext3 sd_mod" \
|
|
|
18971c |
-f $TESTDIR/initramfs.testing $KVERSION || return 1
|
|
|
18971c |
|
|
|
18971c |
diff --git a/test/TEST-03-USR-MOUNT/test.sh b/test/TEST-03-USR-MOUNT/test.sh
|
|
|
18971c |
index b3d709eb..ef74d402 100755
|
|
|
18971c |
--- a/test/TEST-03-USR-MOUNT/test.sh
|
|
|
18971c |
+++ b/test/TEST-03-USR-MOUNT/test.sh
|
|
|
18971c |
@@ -5,7 +5,7 @@ TEST_DESCRIPTION="root filesystem on a btrfs filesystem with /usr subvolume"
|
|
|
18971c |
KVERSION=${KVERSION-$(uname -r)}
|
|
|
18971c |
|
|
|
18971c |
# Uncomment this to debug failures
|
|
|
18971c |
-#DEBUGFAIL="rd.shell rd.break"
|
|
|
18971c |
+#DEBUGFAIL="rd.shell rd.break=cmdline"
|
|
|
18971c |
|
|
|
18971c |
client_run() {
|
|
|
18971c |
local test_name="$1"; shift
|
|
|
18971c |
@@ -20,8 +20,7 @@ client_run() {
|
|
|
18971c |
-hdc $TESTDIR/result \
|
|
|
18971c |
-m 256M -smp 2 -nographic \
|
|
|
18971c |
-net none -kernel /boot/vmlinuz-$KVERSION \
|
|
|
18971c |
- -watchdog i6300esb -watchdog-action poweroff \
|
|
|
18971c |
- -append "root=LABEL=dracut $client_opts quiet rd.retry=3 rd.info console=ttyS0,115200n81 selinux=0 rd.debug $DEBUGFAIL" \
|
|
|
18971c |
+ -append "root=LABEL=dracut $client_opts rd.retry=3 rd.info console=ttyS0,115200n81 selinux=0 $DEBUGFAIL" \
|
|
|
18971c |
-initrd $TESTDIR/initramfs.testing
|
|
|
18971c |
|
|
|
18971c |
if (($? != 0)); then
|
|
|
18971c |
@@ -121,8 +120,8 @@ test_setup() {
|
|
|
18971c |
inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
|
|
|
18971c |
)
|
|
|
18971c |
sudo $basedir/dracut.sh -l -i $TESTDIR/overlay / \
|
|
|
18971c |
- -a "debug watchdog" \
|
|
|
18971c |
- -o "network" \
|
|
|
18971c |
+ -a "debug" \
|
|
|
18971c |
+ -o "network plymouth" \
|
|
|
18971c |
-d "piix ide-gd_mod ata_piix btrfs sd_mod i6300esb ib700wdt" \
|
|
|
18971c |
-f $TESTDIR/initramfs.testing $KVERSION || return 1
|
|
|
18971c |
|
|
|
18971c |
diff --git a/test/TEST-12-RAID-DEG/test.sh b/test/TEST-12-RAID-DEG/test.sh
|
|
|
18971c |
index dfcf3dc1..26316210 100755
|
|
|
18971c |
--- a/test/TEST-12-RAID-DEG/test.sh
|
|
|
18971c |
+++ b/test/TEST-12-RAID-DEG/test.sh
|
|
|
18971c |
@@ -19,7 +19,7 @@ client_run() {
|
|
|
18971c |
-hdc $TESTDIR/disk2.img.new \
|
|
|
18971c |
-hdd $TESTDIR/disk3.img.new \
|
|
|
18971c |
-net none -kernel /boot/vmlinuz-$KVERSION \
|
|
|
18971c |
- -append "$* root=LABEL=root rw rd.retry=10 rd.info console=ttyS0,115200n81 selinux=0 rd.debug $DEBUGFAIL " \
|
|
|
18971c |
+ -append "$* root=LABEL=root rw rd.retry=20 rd.info console=ttyS0,115200n81 selinux=0 rd.debug $DEBUGFAIL " \
|
|
|
18971c |
-initrd $TESTDIR/initramfs.testing
|
|
|
18971c |
if ! grep -F -m 1 -q dracut-root-block-success $TESTDIR/root.ext2; then
|
|
|
18971c |
echo "CLIENT TEST END: $@ [FAIL]"
|
|
|
18971c |
diff --git a/test/TEST-14-IMSM/test.sh b/test/TEST-14-IMSM/test.sh
|
|
|
18971c |
index 9353a924..532c3489 100755
|
|
|
18971c |
--- a/test/TEST-14-IMSM/test.sh
|
|
|
18971c |
+++ b/test/TEST-14-IMSM/test.sh
|
|
|
18971c |
@@ -15,7 +15,7 @@ client_run() {
|
|
|
18971c |
-hdc $TESTDIR/disk2 \
|
|
|
18971c |
-m 256M -nographic \
|
|
|
18971c |
-net none -kernel /boot/vmlinuz-$KVERSION \
|
|
|
18971c |
- -append "$* root=LABEL=root rw debug rd.retry=5 rd.debug console=ttyS0,115200n81 selinux=0 rd.info $DEBUGFAIL" \
|
|
|
18971c |
+ -append "$* root=LABEL=root rw debug rd.retry=20 rd.debug console=ttyS0,115200n81 selinux=0 rd.info $DEBUGFAIL" \
|
|
|
18971c |
-initrd $TESTDIR/initramfs.testing
|
|
|
18971c |
if ! grep -F -m 1 -q dracut-root-block-success $TESTDIR/root.ext2; then
|
|
|
18971c |
echo "CLIENT TEST END: $@ [FAIL]"
|