summaryrefslogtreecommitdiff
path: root/scripts/check-qemu-install
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-01-24 23:15:20 +0100
committerChristian Poessinger <christian@poessinger.com>2020-01-24 23:15:50 +0100
commit1749ed915088c625b3de85fe3d98bb89c1aeee73 (patch)
tree0ba30e0058b0b658ba70904cca0fe36afd8a007f /scripts/check-qemu-install
parentac8c6bc95e5872e01c3be8da609ffe5cd07f81da (diff)
downloadvyos-build-1749ed915088c625b3de85fe3d98bb89c1aeee73.tar.gz
vyos-build-1749ed915088c625b3de85fe3d98bb89c1aeee73.zip
Testsuite: use 4 NICs
Diffstat (limited to 'scripts/check-qemu-install')
-rwxr-xr-xscripts/check-qemu-install11
1 files changed, 9 insertions, 2 deletions
diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install
index 30363068..5c4e09b4 100755
--- a/scripts/check-qemu-install
+++ b/scripts/check-qemu-install
@@ -154,7 +154,10 @@ try:
cmd = """qemu-system-x86_64 \
-name "TESTVM" \
-m 1G \
- -nic user,model=virtio,mac=52:54:99:12:34:56,hostfwd=tcp::2299-:22 \
+ -nic user,model=virtio,mac=52:54:99:12:34:56 \
+ -nic user,model=virtio,mac=52:54:99:12:34:57 \
+ -nic user,model=virtio,mac=52:54:99:12:34:58 \
+ -nic user,model=virtio,mac=52:54:99:12:34:59 \
-machine accel=kvm \
{CPU} \
-smp 2 \
@@ -240,7 +243,10 @@ try:
cmd = """qemu-system-x86_64 \
-name "TESTVM" \
-m 1G \
- -nic user,model=virtio,mac=52:54:99:12:34:56,hostfwd=tcp::2299-:22
+ -nic user,model=virtio,mac=52:54:99:12:34:56 \
+ -nic user,model=virtio,mac=52:54:99:12:34:57 \
+ -nic user,model=virtio,mac=52:54:99:12:34:58 \
+ -nic user,model=virtio,mac=52:54:99:12:34:59 \
-machine accel=kvm \
{CPU} \
-smp 2 \
@@ -278,6 +284,7 @@ try:
c.sendline('run show version')
c.sendline('exit')
c.expect(r'vyos@vyos:~\$')
+ c.sendline('show interfaces')
#################################################
# Executing test-suite