From 6e6269596bd04498d3945a7cddbe5e05a0fd4236 Mon Sep 17 00:00:00 2001 From: Fabian Arrotin Date: May 19 2014 12:19:56 +0000 Subject: Fixed p_openssh listening test without using nc but just bash for el7 (and works on previous releases) --- diff --git a/tests/p_openssh/sshd_conn_test.sh b/tests/p_openssh/sshd_conn_test.sh index 50e3a5a..d1014b7 100755 --- a/tests/p_openssh/sshd_conn_test.sh +++ b/tests/p_openssh/sshd_conn_test.sh @@ -5,6 +5,6 @@ t_Log "Running $0 - SSHD is listening test." -nc -w 1 localhost 22 > /dev/null 2>&1 +>/dev/null 2>&1 >/dev/tcp/localhost/22 t_CheckExitStatus $?