test: helloworld to work in a minimal (openwrt) environment

This commit is contained in:
Olof hagsand 2022-02-07 14:16:20 +01:00
parent 4102ca8a46
commit 2165a1368b
2 changed files with 5 additions and 2 deletions

View file

@ -123,6 +123,9 @@ fi
# Multiplication factor to sleep less than whole seconds
DEMSLEEP=.2
# Some sleep implementations cannot handle sub-seconds, change to 1s
sleep $DEMPSLEEP || DEMSLEEP=1
# DEMWAIT is expressed in seconds, but really * DEMSLEEP
let DEMLOOP=5*DEMWAIT