Blame tests/p_openssh/sshd_conn_test.sh

Karanbir Singh 0b5bb2
#!/bin/sh
Karanbir Singh 0b5bb2
# Author: Athmane Madjoudj <athmanem@gmail.com>
Karanbir Singh 0b5bb2
Karanbir Singh 0b5bb2
# FIXME: Test is very basic
Karanbir Singh 2dd0be
Karanbir Singh 2dd0be
t_Log "Running $0 - SSHD is listening test."
Karanbir Singh 2dd0be
Karanbir Singh 0b5bb2
nc -w 1 localhost 22  > /dev/null 2>&1
Karanbir Singh 2dd0be
Karanbir Singh 2dd0be
t_CheckExitStatus $?