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