Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestLookPathUnixEmptyPath (0.71 sec)

  1. src/os/exec/lp_unix_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build unix
    
    package exec_test
    
    import (
    	"os"
    	"os/exec"
    	"testing"
    )
    
    func TestLookPathUnixEmptyPath(t *testing.T) {
    	// Not parallel: uses Chdir and Setenv.
    
    	tmp := t.TempDir()
    	chdir(t, tmp)
    
    	f, err := os.OpenFile("exec_me", os.O_CREATE|os.O_EXCL, 0700)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 18:19:21 UTC 2023
    - 762 bytes
    - Viewed (0)
Back to top