This commit is contained in:
Igor Pecovnik
2020-04-22 08:53:42 +00:00
4 changed files with 8 additions and 4 deletions

6
go.sh
View File

@@ -136,6 +136,7 @@ fi
# and read /etc/armbian-release and compare with previous run
x=0
waitlonger=0
for USER_HOST in "${hostarray[@]}"; do
readarray -t array < <(find $SRC/init -maxdepth 2 -type f -name '*.bash' | sort)
@@ -158,13 +159,16 @@ for USER_HOST in "${hostarray[@]}"; do
display_alert "Switch to stable builds, current branch" "$(date +%R:%S)" "wrn"
remote_exec "apt update; apt -y -qq install armbian-config; \
LANG=C armbian-config main=System selection=Stable branch=current; reboot" "-t" &>/dev/null
waitlonger=60
fi
x=$((x+1))
done
done
# sleep in case upgrade and reboot was done
sleep $waitlonger
# Cycle boards and run tests
x=0

View File

@@ -7,7 +7,7 @@ TEST_ICON="<img width=20 src=https://raw.githubusercontent.com/armbian/autotests
display_alert "$(basename $BASH_SOURCE)" "$(date +%R:%S)" "info"
remote_exec "pkill iperf3;iperf3 -Ds --pidfile /var/run/iperf3"
remote_exec "pkill iperf3; sleep 2; iperf3 -Ds --pidfile /var/run/iperf3"
readarray -t array < <(get_device "^bond.*|^[e].*|^br.*|^lt.*|^umts.*|^lan.*" "ip")

View File

@@ -7,7 +7,7 @@ TEST_ICON="<img width=20 src=https://raw.githubusercontent.com/armbian/autotests
display_alert "$(basename $BASH_SOURCE)" "$(date +%R:%S)" "info"
remote_exec "pkill iperf3;iperf3 -Ds --pidfile /var/run/iperf3"
remote_exec "pkill iperf3; sleep 2; iperf3 -Ds --pidfile /var/run/iperf3"
readarray -t array < <(get_device "^[wr].*" "ip")

View File

@@ -6,7 +6,7 @@ TEST_TITLE="5Ghz"
display_alert "$(basename $BASH_SOURCE)" "$(date +%R:%S)" "info"
remote_exec "pkill iperf3;iperf3 -Ds --pidfile /var/run/iperf3"
remote_exec "pkill iperf3; sleep 2; iperf3 -Ds --pidfile /var/run/iperf3"
readarray -t array < <(get_device "^[wr].*" "ip")