// compareStatus is used to confirm the contents of the thread // specific status files match expectations. func compareStatus(filter, expect string) error { … } // test1435 test 9 glibc implemented setuid/gid syscall functions are // mapped. This test is a slightly more expansive test than that of // src/syscall/syscall_linux_test.go:TestSetuidEtc() insofar as it // launches concurrent threads from C code via CGo and validates that // they are subject to the system calls being tested. For the actual // Go functionality being tested here, the syscall_linux_test version // is considered authoritative, but non-trivial improvements to that // should be mirrored here. func test1435(t *testing.T) { … }