Merge branch 'main' into 18842-arv-mount-disk-config
[arvados.git] / lib / pam / testclient.go
index 3e92cac444ff7efea72876b2505a064cb09390e9..02a278c0e60fa6aed88490b1de0461558532eb9b 100644 (file)
@@ -2,7 +2,8 @@
 //
 // SPDX-License-Identifier: Apache-2.0
 
-// +build never
+//go:build ignore
+// +build ignore
 
 // This file is compiled by docker_test.go to build a test client.
 // It's not part of the pam module itself.
@@ -75,7 +76,7 @@ func main() {
        }
        err = tx.Authenticate(pam.DisallowNullAuthtok)
        if err != nil {
-               err = fmt.Errorf("PAM: %s (message = %q)", err, errorMessage)
+               err = fmt.Errorf("PAM: %s (message = %q, sentPassword = %v)", err, errorMessage, sentPassword)
                logrus.WithError(err).Print("authentication failed")
                os.Exit(1)
        }