]> Cypherpunks.ru repositories - gostls13.git/commit
test: fix incorrectly laid out instructions in issue11656.go
authorTom Thorogood <me+google@tomthorogood.co.uk>
Mon, 1 Feb 2021 03:02:18 +0000 (13:32 +1030)
committerIan Lance Taylor <iant@golang.org>
Mon, 1 Feb 2021 21:38:01 +0000 (21:38 +0000)
commit32e789f4fb45b6296b9283ab80e126287eab4db5
tree1045dc17eb3ecbbd1e506d2010843430702b530c
parent0b6cfea6342a7d95f74bc9e273039236ebd7e64f
test: fix incorrectly laid out instructions in issue11656.go

CL 279423 introduced a regression in this test as it incorrectly laid
out various instructions. In the case of arm, the second instruction
was overwriting the first. In the case of 386, amd64 and s390x, the
instructions were being appended to the end of the slice after 64
zero bytes.

This was causing test failures on "linux/s390x on z13".

Fixes #44028

Change-Id: Id136212dabdae27db7e91904b0df6a3a9d2f4af4
Reviewed-on: https://go-review.googlesource.com/c/go/+/288278
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
test/fixedbugs/issue11656.go