- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for buildTestProg (0.19 sec)
-
src/runtime/checkptr_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 31 17:15:15 UTC 2022 - 2.9K bytes - Viewed (0) -
src/runtime/ehooks_test.go
}, { mode: "callsexit", musthave: []string{ "fatal error: exit hook invoked exit", }, }, { mode: "exit2", expected: "", }, } exe, err := buildTestProg(t, "testexithooks", bmode) if err != nil { t.Fatal(err) } bt := "" if bmode != "" { bt = " bmode: " + bmode } for _, s := range scenarios {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 16:41:13 UTC 2024 - 2.1K bytes - Viewed (0) -
src/runtime/fds_test.go
import ( "internal/testenv" "os" "strings" "testing" ) func TestCheckFDs(t *testing.T) { if *flagQuick { t.Skip("-quick") } testenv.MustHaveGoBuild(t) fdsBin, err := buildTestProg(t, "testfds") if err != nil { t.Fatal(err) } i, err := os.CreateTemp(t.TempDir(), "fds-input") if err != nil { t.Fatal(err) } if _, err := i.Write([]byte("stdin")); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 25 16:33:33 UTC 2023 - 1.4K bytes - Viewed (0) -
src/runtime/security_test.go
// (at least freebsd-amd64-13_0) the default PATH doesn't include /usr/sbin, which is where // chown lives, but using 'su root -c' gives us the correct PATH. // buildTestProg uses os.MkdirTemp which creates directories with 0700, which prevents // setuid binaries from executing because of the missing g+rx, so we need to set the parent
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 13 18:10:14 UTC 2023 - 4.1K bytes - Viewed (0) -
src/runtime/trace_cgo_test.go
// tracefpunwindoff being set to 0 or 1. func TestTraceUnwindCGO(t *testing.T) { if *flagQuick { t.Skip("-quick") } testenv.MustHaveGoBuild(t) t.Parallel() exe, err := buildTestProg(t, "testprogcgo") if err != nil { t.Fatal(err) } wantLogs := []string{ "goCalledFromC", "goCalledFromCThread", } logs := make(map[string]*trace.Event) for _, category := range wantLogs {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.6K bytes - Viewed (0) -
src/runtime/time_test.go
} // Faketime is advanced in checkdead. External linking brings in cgo, // causing checkdead not working. testenv.MustInternalLink(t, false) t.Parallel() exe, err := buildTestProg(t, "testfaketime", "-tags=faketime") if err != nil { t.Fatal(err) } var stdout, stderr bytes.Buffer cmd := exec.Command(exe) cmd.Stdout = &stdout cmd.Stderr = &stderr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 03:40:04 UTC 2024 - 3.1K bytes - Viewed (0) -
src/runtime/semasleep_test.go
// cause indefinite spinning. func TestSpuriousWakeupsNeverHangSemasleep(t *testing.T) { if *flagQuick { t.Skip("-quick") } t.Parallel() // Waits for a program to sleep for 1s. exe, err := buildTestProg(t, "testprog") if err != nil { t.Fatal(err) } cmd := exec.Command(exe, "After1") stdout, err := cmd.StdoutPipe() if err != nil { t.Fatalf("StdoutPipe: %v", err) } beforeStart := time.Now()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 06 17:48:24 UTC 2023 - 3.5K bytes - Viewed (0) -
src/runtime/crash_unix_test.go
// revealing a real bug in the scheduler, but since it seems to only // affect this test and this is itself a test of a debug mode, it's not // a high priority. testenv.SkipFlaky(t, 55160) } exe, err := buildTestProg(t, "testprog") if err != nil { t.Fatal(err) } cmd := testenv.Command(t, exe, "CrashDumpsAllThreads") cmd = testenv.CleanCmdEnv(cmd) cmd.Dir = t.TempDir() // put any core file in tempdir
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 20:11:47 UTC 2023 - 9.2K bytes - Viewed (0) -
src/runtime/debuglog_test.go
func TestDebugLogBuild(t *testing.T) { testenv.MustHaveGoBuild(t) // It doesn't matter which program we build, anything will rebuild the // runtime. if _, err := buildTestProg(t, "testprog", "-tags=debuglog"); err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 18 16:59:26 UTC 2022 - 4.9K bytes - Viewed (0)