go cgo_linux_test 源码

  • 2022-07-15
  • 浏览 (1239)

golang cgo_linux_test 代码

文件路径:/misc/cgo/test/cgo_linux_test.go

// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package cgotest

import (
	"runtime"
	"testing"
)

func TestSetgid(t *testing.T) {
	if runtime.GOOS == "android" {
		t.Skip("unsupported on Android")
	}
	testSetgid(t)
}

func TestSetgidStress(t *testing.T) {
	if runtime.GOOS == "android" {
		t.Skip("unsupported on Android")
	}
	testSetgidStress(t)
}

func Test1435(t *testing.T)    { test1435(t) }
func Test6997(t *testing.T)    { test6997(t) }
func TestBuildID(t *testing.T) { testBuildID(t) }

相关信息

go 源码目录

相关文章

go backdoor 源码

go buildid_linux 源码

go callback 源码

go cgo_stubs_android_test 源码

go cgo_test 源码

go cgo_thread_lock 源码

go cgo_unix_test 源码

go issue1435 源码

go issue18146 源码

go issue21897 源码

0  赞