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
Christoph Galuschka eb8570
echo -e "user anonymous\npass password\nquit" | nc localhost 21 | grep -q "230 Login successful."
Karanbir Singh 2dd0be
Steve Barnes 464547
t_CheckExitStatus $?