Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestStatDirModeExec (0.13 sec)

  1. src/os/os_test.go

    	if err != nil {
    		t.Fatalf("Write to os.Stderr failed: %v", err)
    	}
    	if n != len(b) {
    		t.Errorf("Write to os.Stderr should return %d; got %d", len(b), n)
    	}
    }
    
    func TestStatDirModeExec(t *testing.T) {
    	if runtime.GOOS == "wasip1" {
    		t.Skip("Chmod is not supported on " + runtime.GOOS)
    	}
    	t.Parallel()
    
    	const mode = 0111
    
    	path := t.TempDir()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
Back to top