tests: Properly pass the num of channels to start.sh

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>
This commit is contained in:
Ilan Peer 2015-08-09 16:00:41 +03:00 committed by Jouni Malinen
parent 492f007ec5
commit 7a2e562396

View file

@ -108,7 +108,7 @@ if [ ! -z "$BUILD" ]; then
fi fi
fi fi
if ! ./start.sh $VALGRIND $TRACE $NUM_CH; then if ! ./start.sh $VALGRIND $TRACE channels=$NUM_CH; then
if ! [ -z "$LOGBASEDIR" ] ; then if ! [ -z "$LOGBASEDIR" ] ; then
echo "Could not start test environment" > $LOGDIR/run echo "Could not start test environment" > $LOGDIR/run
fi fi