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.
QA/tests/p_nmap/nmap_test_lo.sh

14 lines
291 B

#!/bin/sh
# Author: Christoph Galuschka <christoph.galuschka@chello.at>
if [ "$CONTAINERTEST" -eq "1" ]; then
t_Log "Running in container -> SKIP"
exit 0
fi
t_Log "Running $0 - nmap querys loopback and checks for open ssh port"
nmap 127.0.0.1 | grep -qi ssh
t_CheckExitStatus $?