Skip to content

Commit

Permalink
pam/integration-tests: Add qrcode quick regeneration test
Browse files Browse the repository at this point in the history
This was failing in previous versions because of the races fixed in this
branch, so ensure we won't fail anymore
  • Loading branch information
3v1n0 committed Jul 8, 2024
1 parent 456f11f commit 6800282
Show file tree
Hide file tree
Showing 3 changed files with 494 additions and 0 deletions.
1 change: 1 addition & 0 deletions pam/integration-tests/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ func TestCLIAuthenticate(t *testing.T) {
"Authenticate user with qr code in a TTY": {tape: "qr_code", pamUser: "user-integration-qr-code-tty", termEnv: "linux"},
"Authenticate user with qr code in a TTY session": {tape: "qr_code", pamUser: "user-integration-qr-code-tty-session", termEnv: "xterm-256color", sessionEnv: "tty"},
"Authenticate user with qr code in screen": {tape: "qr_code", pamUser: "user-integration-qr-code-screen", termEnv: "screen"},
"Authenticate user with qr code after many regenerations": {tape: "qr_code_quick_regenerate"},
"Authenticate user and reset password while enforcing policy": {tape: "mandatory_password_reset"},
"Authenticate user and offer password reset": {tape: "optional_password_reset_skip"},
"Authenticate user switching auth mode": {tape: "switch_auth_mode"},
Expand Down
Loading

0 comments on commit 6800282

Please sign in to comment.