- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 190 for tempdir (0.14 sec)
-
platforms/jvm/toolchains-jvm-shared/src/test/groovy/org/gradle/jvm/toolchain/internal/install/DefaultJdkCacheDirectoryTest.groovy
import org.gradle.util.internal.Resources import org.junit.Rule import spock.lang.Ignore import spock.lang.Specification import spock.lang.TempDir import static org.junit.Assume.assumeTrue class DefaultJdkCacheDirectoryTest extends Specification { @TempDir public File temporaryFolder @Rule public final Resources resources = new Resources()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 06:41:24 UTC 2024 - 10.2K bytes - Viewed (0) -
src/cmd/go/internal/envcmd/env_test.go
want += s + "\n" } scriptfilename := "script.sh" if runtime.GOOS == "windows" { scriptfilename = "script.bat" } var cmd *exec.Cmd if runtime.GOOS == "windows" { scriptfile := filepath.Join(t.TempDir(), scriptfilename) if err := os.WriteFile(scriptfile, b.Bytes(), 0777); err != nil { t.Fatal(err) } cmd = testenv.Command(t, "cmd.exe", "/C", scriptfile) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 2.3K bytes - Viewed (0) -
pkg/kubelet/userns/userns_manager_test.go
mappingLen: 65536, maxPods: 2, }, } for _, tc := range cases { t.Run(tc.name, func(t *testing.T) { testUserNsPodsManager := &testUserNsPodsManager{ podDir: t.TempDir(), mappingFirstID: tc.mappingFirstID, mappingLen: tc.mappingLen, maxPods: tc.maxPods, } _, err := MakeUserNsManager(testUserNsPodsManager) if tc.success {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 14.6K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/gcc/ArStaticLibraryArchiver.java
buildQueue.add(invocation); } }; } @Override protected void addOptionsFileArgs(List<String> args, File tempDir) { // No support for command file } private static class ArchiverSpecToArguments implements ArgsTransformer<StaticLibraryArchiverSpec> { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 14:04:39 UTC 2024 - 4.1K bytes - Viewed (0) -
src/testing/testing.go
} // TempDir returns a temporary directory for the test to use. // The directory is automatically removed when the test and // all its subtests complete. // Each subsequent call to t.TempDir returns a unique directory; // if the directory creation fails, TempDir terminates the test by calling Fatal. func (c *common) TempDir() string { c.checkFuzzFn("TempDir")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0) -
src/internal/coverage/cfile/emitdata_test.go
} } } func TestIssue59563TruncatedCoverPkgAll(t *testing.T) { if testing.Short() { t.Skipf("skipping test: too long for short mode") } testenv.MustHaveGoRun(t) tmpdir := t.TempDir() ppath := filepath.Join(tmpdir, "foo.cov") cmd := exec.Command(testenv.GoToolPath(t), "test", "-coverpkg=all", "-coverprofile="+ppath) cmd.Dir = filepath.Join("testdata", "issue59563") b, err := cmd.CombinedOutput()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 16.3K bytes - Viewed (0) -
src/testing/fstest/testfs_test.go
import ( "errors" "internal/testenv" "io/fs" "os" "path/filepath" "slices" "strings" "testing" ) func TestSymlink(t *testing.T) { testenv.MustHaveSymlink(t) tmp := t.TempDir() tmpfs := os.DirFS(tmp) if err := os.WriteFile(filepath.Join(tmp, "hello"), []byte("hello, world\n"), 0644); err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 2.9K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go
// $HOME is not set, falls back to os.TempDir(). func setTmpDir(ui plugin.UI) (string, error) { var dirs []string if profileDir := os.Getenv("PPROF_TMPDIR"); profileDir != "" { dirs = append(dirs, profileDir) } if homeDir := os.Getenv(homeEnv()); homeDir != "" { dirs = append(dirs, filepath.Join(homeDir, "pprof")) } dirs = append(dirs, os.TempDir()) for _, tmpDir := range dirs {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 19K bytes - Viewed (0) -
src/cmd/compile/internal/test/mergelocals_test.go
// 6: "xp3" frameoff -8200 ... // 7: "xp4" frameoff -8200 ... // 8: "p2" frameoff -16400 ... // 9: "r" frameoff -16408 ... // tmpdir := t.TempDir() src := filepath.Join("testdata", "mergelocals", "integration.go") obj := filepath.Join(tmpdir, "p.a") out, err := testenv.Command(t, testenv.GoToolPath(t), "tool", "compile", "-p=p", "-c", "1", "-o", obj, "-d=mergelocalstrace=2,mergelocals=1",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:43:53 UTC 2024 - 4.7K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
g.Expect(err.Error()).To(ContainSubstring("Webhook overlaps with others")) g.Expect(objs).Should(BeNil()) }, }, } recreateSimpleTestEnv() tmpDir := t.TempDir() tmpCharts := chartSourceType(filepath.Join(tmpDir, operatorSubdirFilePath)) err := copyDir(string(liveCharts), string(tmpCharts)) if err != nil { t.Fatal(err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 18:05:06 UTC 2024 - 43.5K bytes - Viewed (0)