Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GO_WANT_HELPER_PROCESS (0.22 sec)

  1. src/syscall/exec_unix_test.go

    func TestExecHelper(t *testing.T) {
    	if os.Getenv("GO_WANT_HELPER_PROCESS") != "2" {
    		return
    	}
    
    	// We don't have to worry about restoring these values.
    	// We are in a child process that only runs this test,
    	// and we are going to call syscall.Exec anyhow.
    	os.Setenv("GO_WANT_HELPER_PROCESS", "3")
    
    	stop := time.Now().Add(time.Second)
    	for i := 0; i < 100; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 04:41:27 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. src/runtime/vdso_test.go

    	if err != nil {
    		t.Skipf("skipping because Executable failed: %v", err)
    	}
    
    	t.Logf("GO_WANT_HELPER_PROCESS=1 %s -f -e clock_gettime %s -test.run=^TestUsingVDSO$", strace, exe)
    	cmd := testenv.Command(t, strace, "-f", "-e", "clock_gettime", exe, "-test.run=^TestUsingVDSO$")
    	cmd = testenv.CleanCmdEnv(cmd)
    	cmd.Env = append(cmd.Env, "GO_WANT_HELPER_PROCESS=1")
    	out, err := cmd.CombinedOutput()
    	if len(out) > 0 {
    		t.Logf("%s", out)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 17 19:47:47 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top