Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • G go
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • go
  • Repository
You need to sign in or sign up before continuing.
  • go
  • src
  • syscall
  • exec_linux_test.go
Find file BlameHistoryPermalink
  • Quentin Smith's avatar
    syscall: relax TestUnshare · cb986def
    Quentin Smith authored Oct 05, 2016
    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: default avatarBrad Fitzpatrick <bradfitz@golang.org>
    Reviewed-by: default avatarJessica Frazelle <me@jessfraz.com>
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    cb986def
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7