Lines Matching defs:test_one
248 test_one() {
305 test_one "correct principal" success "-n ${USER}"
306 test_one "host-certificate" failure "-n ${USER} -h"
307 test_one "wrong principals" failure "-n foo"
308 test_one "cert not yet valid" failure "-n ${USER} -V20200101:20300101"
309 test_one "cert expired" failure "-n ${USER} -V19800101:19900101"
310 test_one "cert valid interval" success "-n ${USER} -V-1w:+2w"
311 test_one "wrong source-address" failure "-n ${USER} -Osource-address=10.0.0.0/8"
312 test_one "force-command" failure "-n ${USER} -Oforce-command=false"
315 test_one "empty principals" success "" authorized_keys
316 test_one "empty principals" failure "" TrustedUserCAKeys
324 test_one "AuthorizedPrincipalsFile principals" success "-n mekmitasdigoat" \
326 test_one "AuthorizedPrincipalsFile no principals" failure "" \
331 test_one "principals key option principals" success "-n mekmitasdigoat" \
333 test_one "principals key option no principals" failure "" \