[tests] debug remote test

This commit is contained in:
Timothy Stack 2021-08-29 22:56:08 -07:00
parent 42d2aa063a
commit 2df39916f9
1 changed files with 2 additions and 0 deletions

View File

@ -58,6 +58,7 @@ StrictHostKeyChecking no
EOF
SSHD_PATH=$(which sshd)
echo "ssh path: ${SSHD_PATH}"
trap 'kill $(cat remote/sshd.pid)' EXIT
@ -80,6 +81,7 @@ EOF
run_test ${lnav_test} -d /tmp/lnav.err -n \
localhost:nonexistent-file
cat remote/sshd.log
check_error_output "no error for nonexistent-file?" <<EOF
error: unable to open file: localhost:nonexistent-file -- unable to lstat -- ENOENT[2]
EOF