Blame tests/p_vsftpd/vsftpd_anonymous_login.sh

Karanbir Singh 0b5bb2
#!/bin/sh
Karanbir Singh 0b5bb2
# Author: Athmane Madjoudj <athmanem@gmail.com>
Karanbir Singh 0b5bb2
Karanbir Singh 2dd0be
t_Log "Running $0 - vsFTPd anonymous can login test."
Karanbir Singh 2dd0be
Karanbir Singh 0b5bb2
echo -e "user anonymous\npass password\nquit" | nc localhost 21 | grep "230 Login successful." > /dev/null 2>&1
Karanbir Singh 2dd0be
Karanbir Singh 2dd0be
t_CheckExitStatus $?