Blame tests/p_openssh/sshd_user_login.sh

Steve Barnes d25592
#!/bin/sh
Steve Barnes d25592
# Author: Athmane Madjoudj <athmanem@gmail.com>
Steve Barnes d25592
Steve Barnes d25592
userdel -rf sshtest; useradd sshtest && echo sshtest | passwd --stdin sshtest
Steve Barnes d25592
Steve Barnes d25592
# Create a test file
Steve Barnes d25592
touch /home/sshtest/ssh_test_file
Steve Barnes d25592
Steve Barnes d25592
t_Log "Running $0 - SSH user login test."
Steve Barnes d25592
Steve Barnes d25592
./tests/p_openssh/_helper_sshd_user_login.expect | grep "ssh_test_file"
Steve Barnes d25592
 > /dev/null 2>&1
Steve Barnes d25592
Steve Barnes d25592
t_CheckExitStatus $?
Steve Barnes d25592
Athmane Madjoudj cf6174
userdel -rf sshtest
Athmane Madjoudj cf6174