Lines Matching refs:test_one
259 test_one() {
312 test_one "correct principal" success "-n ${USER}"
313 test_one "host-certificate" failure "-n ${USER} -h"
314 test_one "wrong principals" failure "-n foo"
315 test_one "cert not yet valid" failure "-n ${USER} -V20200101:20300101"
316 test_one "cert expired" failure "-n ${USER} -V19800101:19900101"
317 test_one "cert valid interval" success "-n ${USER} -V-1w:+2w"
318 test_one "wrong source-address" failure "-n ${USER} -Osource-address=10.0.0.0/8"
319 test_one "force-command" failure "-n ${USER} -Oforce-command=false"
322 test_one "empty principals" success "" authorized_keys
323 test_one "empty principals" failure "" TrustedUserCAKeys
331 test_one "AuthorizedPrincipalsFile principals" success "-n mekmitasdigoat" \
333 test_one "AuthorizedPrincipalsFile no principals" failure "" \
338 test_one "principals key option principals" success "-n mekmitasdigoat" \
340 test_one "principals key option no principals" failure "" \