mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 03:07:56 +00:00
lf_help_check.bash : check to see if --help files works on scripts
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
8
py-scripts/lf_help_check.bash
Executable file
8
py-scripts/lf_help_check.bash
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
FILES=`ls *.py`
|
||||
for FILE in $FILES
|
||||
do
|
||||
echo $FILE
|
||||
(timeout 10 python3 ./${FILE} --help > /dev/null && echo PASSED) || echo "FAILED ${FILE}"
|
||||
done
|
||||
Reference in New Issue
Block a user