// Copyright 2018 The Go Authors. All rights reserved.// Use of this source code is governed by a BSD-style// license that can be found in the LICENSE file.// Script-driven tests.// See testdata/script/README for an overview.packagemain_testimport("bytes""context""errors""fmt""go/build""internal/testenv""io/fs""os""os/exec""path/filepath""regexp""runtime""strconv""strings""sync""testing""time""cmd/go/internal/cfg""cmd/go/internal/imports""cmd/go/internal/par""cmd/go/internal/robustio""cmd/go/internal/txtar""cmd/go/internal/work""cmd/internal/sys")// TestScript runs the tests in testdata/script/*.txt.funcTestScript(t*testing.T){testenv.MustHaveGoBuild(t)