Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for virun (0.04 sec)

  1. src/os/env_test.go

    	value, ok := LookupEnv(smallpox) // Should not exist.
    	if ok || value != "" {
    		t.Fatalf("%s=%q", smallpox, value)
    	}
    	defer Unsetenv(smallpox)
    	err := Setenv(smallpox, "virus")
    	if err != nil {
    		t.Fatalf("failed to release smallpox virus")
    	}
    	_, ok = LookupEnv(smallpox)
    	if !ok {
    		t.Errorf("smallpox release failed; world remains safe but LookupEnv is broken")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 04 15:31:54 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_download_concurrent_read.txt

    #
    # Before Go 1.16, we extracted each module zip to a temporary directory with
    # a random name, then renamed that into place with os.Rename. On Windows,
    # this failed with ERROR_ACCESS_DENIED when another process (usually an
    # anti-virus scanner) opened files in the temporary directory. This test
    # simulates that behavior, verifying golang.org/issue/36568.
    #
    # Since 1.16, we extract to the final directory, but we create a .partial file
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2.5K bytes
    - Viewed (0)
Back to top