aboutsummaryrefslogtreecommitdiffstats
path: root/testing/start-testing
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-03-08 14:47:42 +0100
committerTobias Brunner <tobias@strongswan.org>2013-03-19 11:50:39 +0100
commit7a87381840484531f8ddeeb581e4280e0e93902e (patch)
treecebedae77f05489af3e3c00ea51c98ceda114f4e /testing/start-testing
parent9525e9c506fc30457a396838ab8ef801e23c79dd (diff)
downloadstrongswan-7a87381840484531f8ddeeb581e4280e0e93902e.tar.bz2
strongswan-7a87381840484531f8ddeeb581e4280e0e93902e.tar.xz
testing: Rename interfaces and bridges so they are easier to identify
This simplifies capturing traffic with Wireshark on the host as each of the guest's interfaces is clearly identified. The three bridges were previously numbered starting from 0, this scheme is restored here.
Diffstat (limited to 'testing/start-testing')
-rwxr-xr-xtesting/start-testing4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/start-testing b/testing/start-testing
index db582cfd7..46aa4a2cb 100755
--- a/testing/start-testing
+++ b/testing/start-testing
@@ -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"
@@ -41,7 +41,7 @@ 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