summaryrefslogtreecommitdiff
path: root/libgo/go/cmd/go/testdata/script/mod_auth.txt
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/cmd/go/testdata/script/mod_auth.txt')
-rw-r--r--libgo/go/cmd/go/testdata/script/mod_auth.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgo/go/cmd/go/testdata/script/mod_auth.txt b/libgo/go/cmd/go/testdata/script/mod_auth.txt
index fe1d65794af..5bcbcd1a188 100644
--- a/libgo/go/cmd/go/testdata/script/mod_auth.txt
+++ b/libgo/go/cmd/go/testdata/script/mod_auth.txt
@@ -8,6 +8,8 @@ env GOSUMDB=off
# basic auth should fail.
env NETRC=$WORK/empty
! go list all
+stderr '^\tserver response: ACCESS DENIED, buddy$'
+stderr '^\tserver response: File\? What file\?$'
# With credentials from a netrc file, it should succeed.
env NETRC=$WORK/netrc