tests: Properly pass the num of channels to start.sh
authorIlan Peer <ilan.peer@intel.com>
Sun, 9 Aug 2015 13:00:41 +0000 (16:00 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 10 Aug 2015 18:10:56 +0000 (21:10 +0300)
The number of channels was not properly passed from the
run-all.sh script to the start.sh script. Fix it.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
tests/hwsim/run-all.sh

index 9bdb7b1..5cf56a9 100755 (executable)
@@ -108,7 +108,7 @@ if [ ! -z "$BUILD" ]; then
     fi
 fi
 
-if ! ./start.sh $VALGRIND $TRACE $NUM_CH; then
+if ! ./start.sh $VALGRIND $TRACE channels=$NUM_CH; then
        if ! [ -z "$LOGBASEDIR" ] ; then
                echo "Could not start test environment" > $LOGDIR/run
        fi