]> Cypherpunks repositories - gostls13.git/commit
cmd/nm: fix TestGoExec on Plan 9
authorDavid du Colombier <0intro@gmail.com>
Mon, 11 Jun 2018 20:34:03 +0000 (22:34 +0200)
committerDavid du Colombier <0intro@gmail.com>
Mon, 11 Jun 2018 20:58:09 +0000 (20:58 +0000)
commit92f8acd192dc2dc9191cc633666c26137c12a6cd
treeb4d99f6340b642a470c310ddbd8113e70c0f78a5
parent131d7e0d0ee4471dc97f24d223aeef47ba6809d5
cmd/nm: fix TestGoExec on Plan 9

CL 115975 changed TestGoExec to check symbol types.
However, this test is failing on Plan 9, because
there is no read-only data segment symbol on Plan 9.

This change fixes TestGoExec to replace the check
of read-only data segment symbol (R) by data segment
symbol (D) on Plan 9.

Fixes #25820.

Change-Id: I7164cd9056fa1dfcd1dc1b0f87653290c14c85fa
Reviewed-on: https://go-review.googlesource.com/118035
Run-TryBot: David du Colombier <0intro@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/nm/nm_test.go