Check regress passwd is set before enabling kbdint.

This commit is contained in:
Darren Tucker
2026-02-23 20:54:55 -05:00
parent 4ed5f9ecca
commit c940e709ae

2
.github/run_test.sh vendored
View File

@@ -52,7 +52,7 @@ else
fi
# Activate kbdint regression test for PAM
if echo "${SSHD_CONFOPTS}" | grep -i usepam >/dev/null; then
if echo "${SSHD_CONFOPTS}" | grep -i usepam >/dev/null && [ -f regress/password ]; then
cp regress/password regress/kbdintpw
fi