Skip to content

Commit

Permalink
pam/integration-tests: Compile the test client with PAM debug
Browse files Browse the repository at this point in the history
  • Loading branch information
3v1n0 committed Oct 3, 2024
1 parent 941590e commit 3f4d491
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pam/integration-tests/helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ func buildPAMExecChild(t *testing.T) string {
cmd.Args = append(cmd.Args, "-race")
}
cmd.Args = append(cmd.Args, "-gcflags=all=-N -l")
cmd.Args = append(cmd.Args, "-tags=pam_debug")
cmd.Env = append(os.Environ(), `CGO_CFLAGS=-O0 -g3`)

authdPam := filepath.Join(t.TempDir(), "authd-pam")
Expand Down

0 comments on commit 3f4d491

Please sign in to comment.