Lines Matching refs:test_one
287 test_one() { function
340 test_one "correct principal" success "-n ${USER}"
341 test_one "host-certificate" failure "-n ${USER} -h"
342 test_one "wrong principals" failure "-n foo"
343 test_one "cert not yet valid" failure "-n ${USER} -V20300101:20320101"
344 test_one "cert expired" failure "-n ${USER} -V19800101:19900101"
345 test_one "cert valid interval" success "-n ${USER} -V-1w:+2w"
346 test_one "wrong source-address" failure "-n ${USER} -Osource-address=10.0.0.0/8"
347 test_one "force-command" failure "-n ${USER} -Oforce-command=false"
350 test_one "empty principals" success "" authorized_keys
351 test_one "empty principals" failure "" TrustedUserCAKeys
359 test_one "AuthorizedPrincipalsFile principals" success "-n mekmitasdigoat" \
361 test_one "AuthorizedPrincipalsFile no principals" failure "" \
366 test_one "principals key option principals" success "-n mekmitasdigoat" \
368 test_one "principals key option no principals" failure "" \
372 test_one "force-command match true" success \
375 test_one "force-command match true" failure \
378 test_one "force-command mismatch 1" failure \
381 test_one "force-command mismatch 2" failure \