Blame tests/p_nmap/nmap_test_lo.sh

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