mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-03 20:27:54 +00:00
regression_test: Make a simpler call for the beginning of function test() when we call scenario.py
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
@@ -157,7 +157,6 @@ if [[ ${#SSID_USED} -gt 0 ]]; then
|
|||||||
fi
|
fi
|
||||||
NUM_STA=${NUM_STA:-4}
|
NUM_STA=${NUM_STA:-4}
|
||||||
TEST_HTTP_IP=${TEST_HTTP_IP:-10.40.0.1}
|
TEST_HTTP_IP=${TEST_HTTP_IP:-10.40.0.1}
|
||||||
MGRLEN=${#MGR}
|
|
||||||
COL_NAMES="name,tx_bytes,rx_bytes,dropped"
|
COL_NAMES="name,tx_bytes,rx_bytes,dropped"
|
||||||
|
|
||||||
if [[ ${#DUT2} -eq 0 ]]; then
|
if [[ ${#DUT2} -eq 0 ]]; then
|
||||||
@@ -399,10 +398,10 @@ function echo_print() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function test() {
|
function test() {
|
||||||
if [[ $MGRLEN -gt 0 ]]; then
|
if [[ ${#PORTS} -gt 0 ]]; then
|
||||||
./scenario.py --load BLANK --mgr "${MGR}" --check_phantom "${PORTS}" || return 1 # --quit_on_phantom || return 1
|
./scenario.py --load BLANK --mgr "${MGR}" --check_phantom "${PORTS}" || return 1
|
||||||
else
|
else
|
||||||
./scenario.py --load BLANK --check_phantom "${PORTS}" || return 1
|
./scenario.py --load BLANK --mgr "${MGR}" || return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
Reference in New Issue
Block a user