]> Cypherpunks repositories - gostls13.git/commit
cmd/link: replace golden binary files with hex dumps
authorRuss Cox <rsc@golang.org>
Tue, 14 Jan 2014 04:07:40 +0000 (23:07 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 14 Jan 2014 04:07:40 +0000 (23:07 -0500)
commit9c1aa658bfb73018805fde0c6224a289aced0d03
tree247be90733c6fc071fe802949f474fbecf5de726
parent47dc18313684383ea2432b57f34e353db0593a4d
cmd/link: replace golden binary files with hex dumps

The hex dumps will diff better, and I hope they will avoid
a repeat of http://bugs.debian.org/716853.

The CL will probably show the testdata diffs as "binary",
but in fact the binary versions are being replaced by
textual hex dumps (output of hexdump -C).

R=iant
CC=golang-codereviews
https://golang.org/cl/51000044
src/cmd/link/hex_test.go [new file with mode: 0644]
src/cmd/link/prog_test.go
src/cmd/link/testdata/link.hello.darwin.amd64 [changed mode: 0755->0644]
src/cmd/link/testdata/macho.amd64.exit9 [changed mode: 0755->0644]
src/cmd/link/testdata/macho.amd64.hello [changed mode: 0755->0644]
src/cmd/link/testdata/macho.amd64.helloro [changed mode: 0755->0644]