- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 7,983 for testAny (0.18 sec)
-
src/net/http/cgi/host_test.go
package cgi import ( "bufio" "fmt" "internal/testenv" "io" "net" "net/http" "net/http/httptest" "os" "path/filepath" "reflect" "regexp" "runtime" "strings" "testing" "time" ) // TestMain executes the test binary as the cgi server if // SERVER_SOFTWARE is set, and runs the tests otherwise. func TestMain(m *testing.M) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 18:29:59 UTC 2024 - 13.3K bytes - Viewed (0) -
src/cmd/cgo/internal/testcshared/cshared_test.go
) func createHeadersOnce(t *testing.T) { testenv.MustHaveGoBuild(t) testenv.MustHaveCGO(t) testenv.MustHaveBuildMode(t, "c-shared") headersOnce.Do(func() { headersErr = createHeaders() }) if headersErr != nil { t.Helper() t.Fatal(headersErr) } } // test0: exported symbols in shared lib are accessible. func TestExportedSymbols(t *testing.T) { globalSkip(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 13:19:50 UTC 2023 - 21K bytes - Viewed (0) -
src/syscall/exec_linux_test.go
} } func TestGroupCleanup(t *testing.T) { testenv.MustHaveExecPath(t, "id") cmd := testenv.Command(t, "id") cmd.SysProcAttr = &syscall.SysProcAttr{ Credential: &syscall.Credential{ Uid: 0, Gid: 0, }, } out, err := cmd.CombinedOutput() if err != nil { if testenv.SyscallIsNotSupported(err) { t.Skipf("skipping: %v: %v", cmd, err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 07:45:37 UTC 2024 - 20.6K bytes - Viewed (0) -
src/cmd/compile/internal/test/reproduciblebuilds_test.go
package test import ( "bytes" "internal/testenv" "os" "path/filepath" "testing" ) func TestReproducibleBuilds(t *testing.T) { tests := []string{ "issue20272.go", "issue27013.go", "issue30202.go", } testenv.MustHaveGoBuild(t) iters := 10 if testing.Short() { iters = 4 } t.Parallel() for _, test := range tests { test := test
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 06 18:07:35 UTC 2023 - 2.8K bytes - Viewed (0) -
src/net/http/cgi/integration_test.go
package cgi import ( "bytes" "errors" "fmt" "internal/testenv" "io" "net/http" "net/http/httptest" "net/url" "os" "strings" "testing" ) // This test is a CGI host (testing host.go) that runs its own binary // as a child process testing the other half of CGI (child.go). func TestHostingOurselves(t *testing.T) { testenv.MustHaveExec(t) h := &Handler{ Path: os.Args[0],
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 07 18:42:44 UTC 2023 - 5.5K bytes - Viewed (0) -
src/runtime/signal_windows_test.go
import ( "bufio" "bytes" "fmt" "internal/testenv" "os/exec" "path/filepath" "runtime" "strings" "syscall" "testing" ) func TestVectoredHandlerExceptionInNonGoThread(t *testing.T) { if *flagQuick { t.Skip("-quick") } if strings.HasPrefix(testenv.Builder(), "windows-amd64-2012") { testenv.SkipFlaky(t, 49681) } testenv.MustHaveGoBuild(t) testenv.MustHaveCGO(t) testenv.MustHaveExecPath(t, "gcc")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 08:26:52 UTC 2023 - 9K bytes - Viewed (0) -
src/cmd/cgo/internal/testcarchive/carchive_test.go
echo "testar" > PWD/testar.ran ` func TestExtar(t *testing.T) { switch GOOS { case "windows": t.Skip("skipping signal test on Windows") } if runtime.Compiler == "gccgo" { t.Skip("skipping -extar test when using gccgo") } globalSkip(t) testenv.MustHaveGoBuild(t) testenv.MustHaveCGO(t) testenv.MustHaveBuildMode(t, "c-archive") testenv.MustHaveExecPath(t, "bash") // This test uses a bash script
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 00:43:51 UTC 2023 - 34.8K bytes - Viewed (0) -
src/syscall/syscall_windows_test.go
} func TestTOKEN_ALL_ACCESS(t *testing.T) { if syscall.TOKEN_ALL_ACCESS != 0xF01FF { t.Errorf("TOKEN_ALL_ACCESS = %x, want 0xF01FF", syscall.TOKEN_ALL_ACCESS) } } func TestStdioAreInheritable(t *testing.T) { testenv.MustHaveGoBuild(t) testenv.MustHaveCGO(t) testenv.MustHaveExecPath(t, "gcc") tmpdir := t.TempDir() // build go dll
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 17 16:33:09 UTC 2023 - 5.7K bytes - Viewed (0) -
src/cmd/compile/internal/test/global_test.go
// license that can be found in the LICENSE file. package test import ( "bytes" "internal/testenv" "os" "path/filepath" "strings" "testing" ) // Make sure "hello world" does not link in all the // fmt.scanf routines. See issue 6853. func TestScanfRemoval(t *testing.T) { testenv.MustHaveGoBuild(t) t.Parallel() // Make a directory to work in. dir := t.TempDir() // Create source.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 06 18:07:35 UTC 2023 - 2.3K bytes - Viewed (0) -
src/cmd/internal/obj/arm64/asm_arm64_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package arm64 import ( "bytes" "fmt" "internal/testenv" "os" "path/filepath" "regexp" "testing" ) func TestSplitImm24uScaled(t *testing.T) { tests := []struct { v int32 shift int wantErr bool wantHi int32 wantLo int32 }{ { v: 0, shift: 0,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 02:46:11 UTC 2023 - 7.8K bytes - Viewed (0)