Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Unsetenv (2.96 sec)

  1. src/cmd/go/testdata/script/test_fuzz_setenv.txt

        f.Fatal("environment variable not set")
      } else if !isWorker() && s != "" {
        f.Fatal("environment variable already set")
      }
      f.Setenv("TEST_FUZZ_SETENV_A", "A")
      if os.Getenv("TEST_FUZZ_SETENV_A") == "" {
        f.Fatal("Setenv did not set environment variable")
      }
      f.Fuzz(func(*testing.T, []byte) {})
    }
    
    func FuzzB(f *testing.F) {
      if os.Getenv("TEST_FUZZ_SETENV_A") != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 943 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test2json_interrupt.txt

    	pids := os.Getenv("GO_TEST_INTERRUPT_PIDS")
    	if pids == "" {
    		// This is the main test process.
    		// Set the environment variable for fuzz workers.
    		pid := os.Getpid()
    		ppid := os.Getppid()
    		os.Setenv("GO_TEST_INTERRUPT_PIDS", fmt.Sprintf("%d,%d", ppid, pid))
    	}
    
    	sentInterrupt := false
    	f.Fuzz(func(t *testing.T, orig string) {
    		if !sentInterrupt {
    			// Simulate a ctrl-C on the keyboard by sending SIGINT
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 08 03:52:44 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  3. api/go1.17.txt

    pkg syscall (windows-amd64), type SysProcAttr struct, ParentProcess Handle
    pkg testing, method (*B) Setenv(string, string)
    pkg testing, method (*T) Setenv(string, string)
    pkg testing, type TB interface, Setenv(string, string)
    pkg text/template/parse, const SkipFuncCheck = 2
    pkg text/template/parse, const SkipFuncCheck Mode
    pkg time, const Layout = "01/02 03:04:05PM '06 -0700"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 18K bytes
    - Viewed (0)
  4. api/go1.18.txt

    pkg testing, method (*F) Helper()
    pkg testing, method (*F) Log(...interface{})
    pkg testing, method (*F) Logf(string, ...interface{})
    pkg testing, method (*F) Name() string
    pkg testing, method (*F) Setenv(string, string)
    pkg testing, method (*F) Skip(...interface{})
    pkg testing, method (*F) SkipNow()
    pkg testing, method (*F) Skipf(string, ...interface{})
    pkg testing, method (*F) Skipped() bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
Back to top