Testcase: test_dovecot_tcp4
Test case data
testcase |
test_dovecot_tcp4 |
testsuite |
/var/lib/utah/testsuites/mail-server |
returncode |
0 |
command |
python test.py |
stderr |
INFO:root:Cmd: ['netstat', '-4', '-ltnp']
INFO:root:Cmd output: Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 847/dovecot
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 847/dovecot
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 838/sshd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 994/master
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 847/dovecot
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 847/dovecot
INFO:root:Check for the entries corresponding to dovecot
INFO:root:Check the number of dovcot etries is 4
.
----------------------------------------------------------------------
Ran 1 test in 0.007s
OK |
command_type |
testcase_test |