Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for tmpPath2 (0.16 sec)

  1. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonSystemPropertiesIntegrationTest.groovy

            """
    
            def tmpPath1 = tempFolder('folder1')
            when:
            executer.withArgument("-Djava.io.tmpdir=${tmpPath1}")
            run("verify")
    
            then:
            daemons.daemons.size() == 1
            output.contains("verified = $tmpPath1")
    
            when:
            def tmpPath2 = tempFolder('tmpPath2')
            executer.withArgument("-Djava.io.tmpdir=${tmpPath2}")
            run "verify"
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  2. pkg/kubelet/kubeletconfig/util/files/files.go

    		// if there was an error writing, syncing, or closing, delete the temporary file and return the error
    		if retErr != nil {
    			if err := fs.Remove(tmpPath); err != nil {
    				retErr = fmt.Errorf("attempted to remove temporary file %q after error %v, but failed due to error: %v", tmpPath, retErr, err)
    			}
    			tmpPath = ""
    		}
    	}()
    
    	// Name() will be an absolute path when using utilfs.DefaultFS, because os.CreateTemp passes
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 13 01:02:46 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  3. cmd/xl-storage_unix_test.go

    func TestIsValidUmaskVol(t *testing.T) {
    	tmpPath := t.TempDir()
    	testCases := []struct {
    		volName       string
    		expectedUmask int
    	}{
    		{"is-this-valid", getUmask()},
    	}
    	testCase := testCases[0]
    
    	// Initialize a new xlStorage layer.
    	disk, err := newLocalXLStorage(tmpPath)
    	if err != nil {
    		t.Fatalf("Initializing xlStorage failed with %s.", err)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jul 25 19:37:26 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  4. pkg/kubelet/util/store/filestore.go

    				}
    			}
    		}
    
    		// Clean up the temp file on error.
    		if retErr != nil && tmpPath != "" {
    			if err := removePath(fs, tmpPath); err != nil {
    				retErr = fmt.Errorf("failed to remove the temporary file (%q) after error %v; remove error: %v", tmpPath, retErr, err)
    			}
    		}
    	}()
    
    	// Write data.
    	if _, err := tmpFile.Write(data); err != nil {
    		return err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 18 15:08:27 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  5. cmd/speedtest.go

    	var ignoredPaths []string
    	paths := func() (tmpPaths []string) {
    		for _, lp := range localPaths {
    			if _, err := Lstat(pathJoin(lp, minioMetaBucket, formatConfigFile)); err == nil {
    				tmpPaths = append(tmpPaths, pathJoin(lp, minioMetaTmpBucket))
    			} else {
    				// Use dperf on only formatted drives.
    				ignoredPaths = append(ignoredPaths, lp)
    			}
    		}
    		return tmpPaths
    	}()
    
    	scheme := "http"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 06 09:45:10 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testerrors/argposition_test.go

    func TestArgumentsPositions(t *testing.T) {
    	testenv.MustHaveCGO(t)
    	testenv.MustHaveExec(t)
    
    	testdata, err := filepath.Abs("testdata")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	tmpPath := t.TempDir()
    
    	dir := filepath.Join(tmpPath, "src", "testpositions")
    	if err := os.MkdirAll(dir, 0755); err != nil {
    		t.Fatal(err)
    	}
    
    	cmd := exec.Command("go", "tool", "cgo",
    		"-srcdir", testdata,
    		"-objdir", dir,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:31 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modfetch/coderepo.go

    		if err2 != nil && !os.IsNotExist(err2) {
    			return "", "", nil, fmt.Errorf("reading %s/%s at revision %s: %v", r.codeRoot, file2, rev, err2)
    		}
    		mpath2 := modfile.ModulePath(gomod2)
    		found2 := err2 == nil && isMajor(mpath2, r.pathMajor)
    
    		if found1 && found2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 38.4K bytes
    - Viewed (0)
Back to top