Files
wlan-lanforge-scripts/py-scripts/lf_help_check.bash
Chuck SmileyRekiere 921b45df12 lf_help_check.bash : added ERROR , so lf_check.py will catch the error
py-scripts
ct_us_001_scripts.json added lf_help_check.bash
ct_us_scripts.json added lf_help_check.bash
2022-07-12 15:44:26 +05:30

9 lines
166 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