Testcase: test_open_ports
Test case data
testcase |
test_open_ports |
testsuite |
/var/lib/utah/testsuites/dns-server |
returncode |
0 |
command |
python test.py |
stderr |
DEBUG:root:Cmd: ['netstat', '-ltnp']
DEBUG:root:Cmd output: Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 192.168.122.200:53 0.0.0.0:* LISTEN 853/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 853/named
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 823/sshd
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 853/named
tcp6 0 0 :::53 :::* LISTEN 853/named
tcp6 0 0 :::22 :::* LISTEN 823/sshd
tcp6 0 0 ::1:953 :::* LISTEN 853/named
DEBUG:root:Check if there are 5 instances of deamon running
DEBUG:root:Check if 3 instances of deamon are on port53
DEBUG:root:Check if 2 instances rndc running on port953
.
----------------------------------------------------------------------
Ran 1 test in 0.006s
OK |
command_type |
testcase_test |