aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2018-12-08 13:35:47 (GMT)
committerJouni Malinen <j@w1.fi>2018-12-08 13:35:47 (GMT)
commit3a80672e2287673708e9730bcbfb6af573c77c03 (patch)
tree7fe564f7c4b9115d5ecb7d2139f9a0703e442c76 /tests
parente4ce86f98b451cf055eba3c390b8a28f6d4fadd2 (diff)
downloadhostap-3a80672e2287673708e9730bcbfb6af573c77c03.zip
hostap-3a80672e2287673708e9730bcbfb6af573c77c03.tar.gz
hostap-3a80672e2287673708e9730bcbfb6af573c77c03.tar.bz2
tests: Remove parallel-vm.sh
parallel-vm.py has obsoleted this a long time ago and there is no need to maintain two scripts for doing more or less the same thing. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/hwsim/vm/parallel-vm.sh38
1 files changed, 0 insertions, 38 deletions
diff --git a/tests/hwsim/vm/parallel-vm.sh b/tests/hwsim/vm/parallel-vm.sh
deleted file mode 100755
index f9e22d9..0000000
--- a/tests/hwsim/vm/parallel-vm.sh
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/bash
-
-cd "$(dirname $0)"
-
-NUM=$1
-if [ -z "$NUM" ]; then
- echo "usage: $0 <num servers> [params..]"
- exit 1
-fi
-shift
-
-if [ -n "$HWSIM_TEST_LOG_DIR" ] ; then
- LOGS="$HWSIM_TEST_LOG_DIR"
-else
- LOGS=/tmp/hwsim-test-logs
-fi
-mkdir -p $LOGS
-DATE=$(date +%s)
-
-for i in `seq 1 $NUM`; do
- printf "\rStarting virtual machine $i/$NUM"
- ./vm-run.sh --timestamp $DATE --ext srv.$i --split $i/$NUM $* >> $LOGS/parallel-$DATE.srv.$i 2>&1 &
-done
-echo
-
-echo "Waiting for virtual machines to complete testing"
-count=$NUM
-for i in `seq 1 $NUM`; do
- printf "\r$count VM(s) remaining "
- wait -n
- count=$((count-1))
-done
-printf "\rTesting completed "
-echo
-
-echo -n "PASS count: "
-grep ^PASS $LOGS/parallel-$DATE.srv.* | wc -l
-cat $LOGS/parallel-$DATE.srv.* | grep FAIL | sort