mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-30 18:27:53 +00:00
Added grep for failure in GUIUpdateLog.txt to prevent unnecessary tests from being run
This commit is contained in:
@@ -15,6 +15,7 @@ for f in $GUILog $GUIUpdate $CTLGUI $CTLH; do rm -f $f; done
|
||||
python3 ${scripts}/auto-install-gui.py --versionNumber $verNum &> $GUIUpdate
|
||||
sleep 5
|
||||
grep -q "Current GUI version up to date" $GUIUpdate && exit
|
||||
grep -q -i "fail" $GUIUpdate && exit
|
||||
|
||||
python3 ${scripts}/connectTest.py &> $CTLGUI
|
||||
sleep 1
|
||||
|
||||
Reference in New Issue
Block a user