Harald Hoyer 9d5d75
From f9c8b3112aee5216a6bb5a42fb46146f6f228854 Mon Sep 17 00:00:00 2001
Harald Hoyer 9d5d75
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 9d5d75
Date: Tue, 14 Aug 2018 14:12:54 +0200
Harald Hoyer 9d5d75
Subject: [PATCH] TEST-50-MULTINIC/test.sh: fixed server startup
Harald Hoyer 9d5d75
Harald Hoyer 9d5d75
---
Harald Hoyer 9d5d75
 test/TEST-50-MULTINIC/test.sh | 9 ++++++---
Harald Hoyer 9d5d75
 1 file changed, 6 insertions(+), 3 deletions(-)
Harald Hoyer 9d5d75
Harald Hoyer 9d5d75
diff --git a/test/TEST-50-MULTINIC/test.sh b/test/TEST-50-MULTINIC/test.sh
Harald Hoyer 9d5d75
index 02443c40..d7cec437 100755
Harald Hoyer 9d5d75
--- a/test/TEST-50-MULTINIC/test.sh
Harald Hoyer 9d5d75
+++ b/test/TEST-50-MULTINIC/test.sh
Harald Hoyer 9d5d75
@@ -29,7 +29,9 @@ run_server() {
Harald Hoyer 9d5d75
             -pidfile "$TESTDIR"/server.pid -daemonize || return 1
Harald Hoyer 9d5d75
     else
Harald Hoyer 9d5d75
         $testdir/run-qemu \
Harald Hoyer 9d5d75
-            -drive format=raw,index=0,media=disk,file="$TESTDIR"/client.img -m 512M  -smp 2 -nographic \
Harald Hoyer 9d5d75
+            -drive format=raw,index=0,media=disk,file="$TESTDIR"/server.ext3 \
Harald Hoyer 9d5d75
+            -m 512M  -smp 2 \
Harald Hoyer 9d5d75
+            -display none \
Harald Hoyer 9d5d75
             -net socket,vlan=0,connect=127.0.0.1:12350 \
Harald Hoyer 9d5d75
             -net nic,vlan=0,macaddr=52:54:00:12:34:$mac1,model=e1000 \
Harald Hoyer 9d5d75
             -net nic,vlan=0,macaddr=52:54:00:12:34:$mac2,model=e1000 \
Harald Hoyer 9d5d75
@@ -38,8 +40,9 @@ run_server() {
Harald Hoyer 9d5d75
             -net nic,vlan=2,macaddr=52:54:00:12:34:99,model=e1000 \
Harald Hoyer 9d5d75
             -watchdog i6300esb -watchdog-action poweroff \
Harald Hoyer 9d5d75
             -no-reboot \
Harald Hoyer 9d5d75
-            -append "panic=1 rd.shell=0 $cmdline $DEBUGFAIL rd.retry=5 ro console=ttyS0,115200n81 selinux=0 init=/sbin/init rd.debug systemd.log_target=console loglevel=7" \
Harald Hoyer 9d5d75
-            -initrd "$TESTDIR"/initramfs.testing
Harald Hoyer 9d5d75
+            -append "panic=1 loglevel=7 root=/dev/sda rootfstype=ext3 rw console=ttyS0,115200n81 selinux=0" \
Harald Hoyer 9d5d75
+            -initrd "$TESTDIR"/initramfs.server \
Harald Hoyer 9d5d75
+            -pidfile "$TESTDIR"/server.pid -daemonize || return 1
Harald Hoyer 9d5d75
     fi
Harald Hoyer 9d5d75
 
Harald Hoyer 9d5d75
     sudo chmod 644 -- "$TESTDIR"/server.pid || return 1
Harald Hoyer 9d5d75