diff options
| author | Michael Matloob <matloob@golang.org> | 2025-05-30 15:23:36 -0400 |
|---|---|---|
| committer | Michael Matloob <matloob@google.com> | 2025-05-30 14:41:17 -0700 |
| commit | 68b51e99f9ed6d15d1ea53c671f60c55979c4a40 (patch) | |
| tree | 3717092de6628f6198d4ccd672f633f96a3a0de5 /src/cmd | |
| parent | 67f052121ed47f23ea613043191ad654702560aa (diff) | |
| download | go-68b51e99f9ed6d15d1ea53c671f60c55979c4a40.tar.xz | |
cmd/distpack: add test case for pack tool being excluded
For #71867
Change-Id: Ic4c6304b9a6b35c45bf35342523930924c68545a
Reviewed-on: https://go-review.googlesource.com/c/go/+/677635
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Matloob <matloob@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Diffstat (limited to 'src/cmd')
| -rw-r--r-- | src/cmd/distpack/test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/distpack/test.go b/src/cmd/distpack/test.go index 4f260cb0df..7479bd77f5 100644 --- a/src/cmd/distpack/test.go +++ b/src/cmd/distpack/test.go @@ -66,6 +66,8 @@ var zipRules = []testRule{ {name: "go/pkg/tool/*/compile", goos: "darwin"}, {name: "go/pkg/tool/*/compile", goos: "windows", exclude: true}, {name: "go/pkg/tool/*/compile.exe", goos: "windows"}, + {name: "go/pkg/tool/*/pack", exclude: true}, + {name: "go/pkg/tool/*/pack.exe", exclude: true}, } var modRules = []testRule{ @@ -100,6 +102,8 @@ var modRules = []testRule{ {name: "golang.org/toolchain@*/pkg/tool/*/compile", goos: "darwin"}, {name: "golang.org/toolchain@*/pkg/tool/*/compile", goos: "windows", exclude: true}, {name: "golang.org/toolchain@*/pkg/tool/*/compile.exe", goos: "windows"}, + {name: "golang.org/toolchain@*/pkg/tool/*/pack", exclude: true}, + {name: "golang.org/toolchain@*/pkg/tool/*/pack.exe", exclude: true}, // go.mod are renamed to _go.mod. {name: "**/go.mod", exclude: true}, |
