mirror of
https://github.com/armbian/autotests.git
synced 2026-01-06 10:31:09 -08:00
16 lines
518 B
Bash
Executable File
16 lines
518 B
Bash
Executable File
#!/bin/bash
|
|
source $SRC/lib/functions.sh
|
|
|
|
TEST_TITLE="Temp"
|
|
TEST_ICON="<img width=20 src=https://raw.githubusercontent.com/armbian/autotests/master/icons/temp.png>"
|
|
[[ $DRY_RUN == true ]] && return 0
|
|
|
|
display_alert "$(basename $BASH_SOURCE)" "$(date +%R:%S)" "info"
|
|
|
|
if [[ -n ${GETTEMP} && "$r" -le "${SBCBENCHPASS}" ]]; then
|
|
TEST_OUTPUT="${GETTEMP}"
|
|
else
|
|
TEST_OUTPUT="<img width=20 src=https://raw.githubusercontent.com/armbian/autotests/master/icons/na.png>"
|
|
display_alert "Board temperature" "No data" "wrn"
|
|
fi
|