Files
wlan-lanforge-scripts/py-scripts/lf_help_check.bash
Chuck SmileyRekiere 19a2ac2fa7 lf-help_check.bash, test_l3_longevity.py, lf_check.py updated errors to
string ERROR:

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:44:27 +05:30

9 lines
167 B
Bash
Executable File

#!/bin/bash
FILES=`ls *.py`
for FILE in $FILES
do
echo $FILE
(timeout 10 python3 ./${FILE} --help > /dev/null && echo PASSED) || echo "ERROR: FAILED ${FILE}"
done