testing: Update test conditions because signature schemes are now logged
[strongswan.git] / testing / start-testing
index db582cf..83291de 100755 (executable)
@@ -9,7 +9,7 @@ CONFDIR=$DIR/config/kvm
 KNLSRC=$BUILDDIR/$KERNEL/arch/x86/boot/bzImage
 KNLTARGET=/var/run/kvm-swan-kernel
 HOSTFSTARGET=/var/run/kvm-swan-hostfs
-MCASTBRS="virbr1 virbr2"
+MCASTBRS="test-br0 test-br1"
 
 echo "Starting test environment"
 
@@ -17,6 +17,7 @@ echo "Starting test environment"
 
 check_commands kvm virsh
 
+[ -f $KNLSRC ] || die "Kernel $KNLSRC not found"
 log_action "Deploying kernel $KERNEL"
 execute "ln -fs $KNLSRC $KNLTARGET"
 
@@ -41,8 +42,11 @@ done
 for br in $MCASTBRS
 do
        cd /sys/devices/virtual/net/$br/brif
-       for vnet in `find . -name "vnet*"`
+       for vnet in `find . -name "*eth?"`
        do
                echo 2 > $vnet/multicast_router
        done
 done
+
+echo 0x08 > /sys/devices/virtual/net/test-br0/bridge/group_fwd_mask
+