github.com/niedbalski/juju@v0.0.0-20190215020005-8ff100488e47/cmd/jujud/introspect/package_test.go (about)

     1  // Copyright 2017 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package introspect_test
     5  
     6  import (
     7  	"runtime"
     8  	"testing"
     9  
    10  	gc "gopkg.in/check.v1"
    11  )
    12  
    13  func TestPackage(t *testing.T) {
    14  	if runtime.GOOS != "linux" {
    15  		t.Skip("introspection socket only runs on Linux")
    16  	}
    17  	gc.TestingT(t)
    18  }