summaryrefslogtreecommitdiff
path: root/test/TEST-30-ISCSI
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2010-04-16 16:52:22 +0200
committerHarald Hoyer <harald@redhat.com>2010-04-16 17:59:49 +0200
commit0c8874266922774ba0833e1aec7d3b935313d2d5 (patch)
tree95785865aec9e79a2f5465a6acad4b196b522738 /test/TEST-30-ISCSI
parent709302e3ccfa7349b0c45e976655394724a56de7 (diff)
downloaddracut-0c8874266922774ba0833e1aec7d3b935313d2d5.tar.gz
dracut-0c8874266922774ba0833e1aec7d3b935313d2d5.tar.bz2
dracut-0c8874266922774ba0833e1aec7d3b935313d2d5.zip
test: change testsuite to local tcp rather than udp multicast
multicast needs an ethernet device and correct firewall rules the loopback interface suites better as we only have 2 machines
Diffstat (limited to 'test/TEST-30-ISCSI')
-rwxr-xr-xtest/TEST-30-ISCSI/test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/TEST-30-ISCSI/test.sh b/test/TEST-30-ISCSI/test.sh
index bde1e375..ba7465ab 100755
--- a/test/TEST-30-ISCSI/test.sh
+++ b/test/TEST-30-ISCSI/test.sh
@@ -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:1235 \
+ -net socket,listen=127.0.0.1:12345 \
-serial udp:127.0.0.1:9999 \
-kernel /boot/vmlinuz-$KVERSION \
-append "root=/dev/sda rw quiet console=ttyS0,115200n81 selinux=0" \
@@ -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:1235 \
+ -net socket,connect=127.0.0.1:12345 \
-kernel /boot/vmlinuz-$KVERSION \
-append "root=dhcp rw quiet rdinitdebug rdinfo rdnetdebug console=ttyS0,115200n81 selinux=0 $DEBUGFAIL" \
-initrd initramfs.testing