diff options
| author | Mikio Hara <mikioh.mikioh@gmail.com> | 2014-02-25 23:02:19 +0900 |
|---|---|---|
| committer | Mikio Hara <mikioh.mikioh@gmail.com> | 2014-02-25 23:02:19 +0900 |
| commit | b05f3de56f018370ce347c2e565ce16cd724f7c3 (patch) | |
| tree | 389675b2d8bb8f761d964ea7dfc1b7dcb0c64414 /src/pkg/path | |
| parent | ec0c9f270e8c09b00df5e45d87cfa4c85df63271 (diff) | |
| download | go-b05f3de56f018370ce347c2e565ce16cd724f7c3.tar.xz | |
syscall: add mmap test
This CL adds a test that calls Mmap and Munmap through Syscall9
as the canary that detects assembly fragment breakage. For now
there is no package test that uses Syscall9 in the standard
library across all Unix-like systems.
Note that the package runtime owns its assembly fragments, so
this canary never works for runtime breakage.
LGTM=iant, bradfitz
R=iant, minux.ma, bradfitz
CC=golang-codereviews
https://golang.org/cl/61520049
Diffstat (limited to 'src/pkg/path')
0 files changed, 0 insertions, 0 deletions
