You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
354 B

#!/usr/bin/env bash
set -u
DESC="Diag2."
run() {
. $VDN_PATH/bin/functions-scripts.sh
diag root@tiny \
"Test local -> DMZ :" \
"timeout 1 lynx -dump web | grep --line-buffered -q 'Bienvenue'"
diag root@bigboss \
"Test local -> Internet :" \
"timeout 1 lynx -dump nomade 2>&1 | grep --line-buffered -q 'Bienvenue'"
}