Lines Matching refs:test_one
279 test_one() { function
332 test_one "correct principal" success "-n ${USER}"
333 test_one "host-certificate" failure "-n ${USER} -h"
334 test_one "wrong principals" failure "-n foo"
335 test_one "cert not yet valid" failure "-n ${USER} -V20300101:20320101"
336 test_one "cert expired" failure "-n ${USER} -V19800101:19900101"
337 test_one "cert valid interval" success "-n ${USER} -V-1w:+2w"
338 test_one "wrong source-address" failure "-n ${USER} -Osource-address=10.0.0.0/8"
339 test_one "force-command" failure "-n ${USER} -Oforce-command=false"
342 test_one "empty principals" success "" authorized_keys
343 test_one "empty principals" failure "" TrustedUserCAKeys
351 test_one "AuthorizedPrincipalsFile principals" success "-n mekmitasdigoat" \
353 test_one "AuthorizedPrincipalsFile no principals" failure "" \
358 test_one "principals key option principals" success "-n mekmitasdigoat" \
360 test_one "principals key option no principals" failure "" \
364 test_one "force-command match true" success \
367 test_one "force-command match true" failure \
370 test_one "force-command mismatch 1" failure \
373 test_one "force-command mismatch 2" failure \