golang/fix_TestScript_list_std.patch
David Benoit fec89770f6
Rebase to Go 1.18.2
Move to github.com/golang-fips/go
Resolves: rhbz#2075169
Resolves: rhbz#2060769
Resolves: rhbz#2067531
Resolves: rhbz#2067536
Resolves: rhbz#2067552
Resolves: rhbz#2025637
2022-05-31 16:56:54 -04:00

14 lines
493 B
Diff

diff --git a/src/cmd/go/testdata/script/list_std.txt b/src/cmd/go/testdata/script/list_std.txt
index 6ab1bd1..4a00e43 100644
--- a/src/cmd/go/testdata/script/list_std.txt
+++ b/src/cmd/go/testdata/script/list_std.txt
@@ -6,7 +6,7 @@ env GO111MODULE=off
# Listing GOROOT should only find standard packages.
cd $GOROOT/src
go list -f '{{if not .Standard}}{{.ImportPath}}{{end}}' ./...
-! stdout .
+stdout _$GOROOT
# Standard packages should include cmd, but not cmd/vendor.
go list ./...