use different multicast ports for the different testsuites
parent
6fb586f3ef
commit
ada0bc3e5f
|
@ -11,7 +11,7 @@ run_server() {
|
|||
|
||||
$testdir/run-qemu -hda server.ext2 -hdb root.ext2 -m 256M -nographic \
|
||||
-net nic,macaddr=52:54:00:12:34:56,model=e1000 \
|
||||
-net socket,mcast=230.0.0.1:1234 \
|
||||
-net socket,mcast=230.0.0.1:1235 \
|
||||
-serial udp:127.0.0.1:9999 \
|
||||
-kernel /boot/vmlinuz-$KVERSION \
|
||||
-append "root=/dev/sda rw quiet console=ttyS0,115200n81" \
|
||||
|
@ -35,7 +35,7 @@ run_client() {
|
|||
|
||||
$testdir/run-qemu -hda client.img -m 256M -nographic \
|
||||
-net nic,macaddr=52:54:00:12:34:00,model=e1000 \
|
||||
-net socket,mcast=230.0.0.1:1234 \
|
||||
-net socket,mcast=230.0.0.1:1235 \
|
||||
-kernel /boot/vmlinuz-$KVERSION \
|
||||
-append "root=dhcp rw quiet console=ttyS0,115200n81 $DEBUGFAIL" \
|
||||
-initrd initramfs.testing
|
||||
|
|
|
@ -13,7 +13,7 @@ run_server() {
|
|||
$testdir/run-qemu -hda server.ext2 -hdb nbd.ext2 -hdc encrypted.ext2 \
|
||||
-m 256M -nographic \
|
||||
-net nic,macaddr=52:54:00:12:34:56,model=e1000 \
|
||||
-net socket,mcast=230.0.0.1:1234 \
|
||||
-net socket,mcast=230.0.0.1:1236 \
|
||||
-serial udp:127.0.0.1:9999 \
|
||||
-kernel /boot/vmlinuz-$KVERSION \
|
||||
-append "root=/dev/sda rw quiet console=ttyS0,115200n81" \
|
||||
|
@ -48,7 +48,7 @@ client_test() {
|
|||
|
||||
$testdir/run-qemu -hda flag.img -m 256M -nographic \
|
||||
-net nic,macaddr=$mac,model=e1000 \
|
||||
-net socket,mcast=230.0.0.1:1234 \
|
||||
-net socket,mcast=230.0.0.1:1236 \
|
||||
-kernel /boot/vmlinuz-$KVERSION \
|
||||
-append "$cmdline $DEBUGFAIL ro quiet console=ttyS0,115200n81" \
|
||||
-initrd initramfs.testing
|
||||
|
|
Loading…
Reference in New Issue