mirror of
https://github.com/golang/go.git
synced 2026-06-27 19:30:52 +00:00
archive/zip: turn off large zip test on 32-bit archs
We won't be able to unzip something with 2^32-1 bytes in it. Fixes the linux/386 longtest builder. Fixes #79554 Fixes #79555 Change-Id: Ifbff124412a007fb00cf5e7c99c1050b17f190d0 Reviewed-on: https://go-review.googlesource.com/c/go/+/780980 Auto-Submit: Keith Randall <khr@golang.org> Reviewed-by: Junyang Shao <shaojunyang@google.com> Reviewed-by: Keith Randall <khr@google.com> LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
parent
abdc5da461
commit
0db3804845
1 changed files with 4 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ import (
|
|||
"hash"
|
||||
"internal/testenv"
|
||||
"io"
|
||||
"math/bits"
|
||||
"slices"
|
||||
"strings"
|
||||
"testing"
|
||||
|
|
@ -499,6 +500,9 @@ func TestZip64LargeDirectory(t *testing.T) {
|
|||
if testing.Short() {
|
||||
t.Skip("skipping in short mode")
|
||||
}
|
||||
if bits.UintSize == 32 {
|
||||
t.Skip("skipping on 32-bit platforms")
|
||||
}
|
||||
t.Parallel()
|
||||
// gen returns a func that writes a zip with a wantLen bytes
|
||||
// of central directory.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue