aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/json/decode.go
diff options
context:
space:
mode:
authorQuentin Smith <quentin@golang.org>2016-10-05 14:37:25 -0400
committerQuentin Smith <quentin@golang.org>2016-10-05 19:30:42 +0000
commitcb986def671cd244e4682a476cff51c4cff2d8f8 (patch)
tree31605b393a8b1806df008b519690f505a6db9053 /src/encoding/json/decode.go
parent92b3e3651dc44f54b458f171f641779f10fbaec0 (diff)
downloadgo-cb986def671cd244e4682a476cff51c4cff2d8f8.tar.xz
syscall: relax TestUnshare
Fixes #17224. Some systems have more than just "lo" in a fresh network namespace, due to IPv6. Instead of testing for exactly 3 lines of output (implying 1 interface), just test to make sure that the unshare call resulted in fewer interfaces than before. This should still verify that unshare did something. Change-Id: Iaf84c2b0e673fc207059d62e2f4dd7583a753419 Reviewed-on: https://go-review.googlesource.com/30372 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Jessica Frazelle <me@jessfraz.com> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/encoding/json/decode.go')
0 files changed, 0 insertions, 0 deletions