- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 418 for _mkdir (0.1 sec)
-
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/jvm/JvmTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 00:09:57 UTC 2024 - 15.4K bytes - Viewed (0) -
src/os/removeall_test.go
// The test is that we can remove them without calling fcntl // on each one. tmpdir := t.TempDir() subdir := filepath.Join(tmpdir, "subdir") if err := Mkdir(subdir, 0o755); err != nil { t.Fatal(err) } for i := 0; i < 100; i++ { subsubdir := filepath.Join(subdir, strconv.Itoa(i)) if err := Mkdir(filepath.Join(subdir, strconv.Itoa(i)), 0o755); err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:21:29 UTC 2024 - 12.3K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/LegacyWindowsSdkLocatorTest.groovy
when: def result = windowsSdkLocator.locateComponent(sdkDir) then: result.available result.component.name == "installed sdk" result.component.version == VersionNumber.parse("7.0") result.component.baseDir == sdkDir } def sdkDir(String name) { def dir = tmpDir.createDir(name) dir.createFile("bin/rc.exe")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 11.6K bytes - Viewed (0) -
pkg/volume/volume_linux_test.go
t.Fatalf("error reading permission stats for tmpdir: %s", tmpDir) } var expectedGid int64 = int64(stat.Gid) err = test.setupFunc(tmpDir) if err != nil { t.Errorf("for %s error running setup with: %v", test.description, err) } mounter := &localFakeMounter{path: "FAKE_DIR_DOESNT_EXIST"} // SetVolumeOwnership() must rely on tmpDir err = SetVolumeOwnership(mounter, tmpDir, &expectedGid, test.fsGroupChangePolicy, nil)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 03 19:34:37 UTC 2023 - 12.1K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/test/groovy/org/gradle/internal/jvm/inspection/DefaultJvmMetadataDetectorTest.groovy
import spock.lang.TempDir class DefaultJvmMetadataDetectorTest extends Specification { @TempDir File temporaryFolder TestFile tmpDir def setup() { tmpDir = new TestFile(new File(temporaryFolder, "tmp").tap { mkdirs() }) } def "cleans up generated Probe class"() { given: def execHandleFactory = createExecHandleFactory(currentGradle()) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 18:25:34 UTC 2024 - 22.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractDirectorySensitivityIntegrationSpec.groovy
createParameterizedTransformWithSensitivity(DirectorySensitivity.DEFAULT) file('augmented').mkdir() file('augmented/a').mkdir() file('augmented/b').mkdir() file('augmented/b/b1').createFile() file('bar/foo').mkdir() file('bar/foo/c').mkdir() file('bar/foo/d').mkdir() file('bar/foo/d1').createFile() when: execute('showTransformedFiles')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 18.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalInputsIntegrationTest.groovy
def setup() { setupTaskSources() buildFile << """ task incremental(type: IncrementalTask) { inputDir = project.mkdir('inputs') outputDir = project.mkdir('outputs') prop = 'foo' } """ file('inputs/file0.txt') << "inputFile0" file('inputs/file1.txt') << "inputFile1" file('inputs/file2.txt') << "inputFile2"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 23 12:52:29 UTC 2022 - 27.8K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/staticpods_test.go
t.Run(test.name, func(t *testing.T) { pkiutiltesting.Reset() // Setup up basic requities tmpDir := testutil.SetupTempDir(t) defer os.RemoveAll(tmpDir) cfg := testutil.GetDefaultInternalConfig(t) cfg.CertificatesDir = tmpDir if err := pkiutil.WriteCertAndKey(tmpDir, constants.CACertAndKeyBaseName, caCert, caKey); err != nil { t.Fatalf("couldn't write out CA: %v", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 32K bytes - Viewed (0) -
src/path/filepath/path_windows_test.go
} func TestWindowsEvalSymlinks(t *testing.T) { testenv.MustHaveSymlink(t) tmpDir := tempDirCanonical(t) if len(tmpDir) < 3 { t.Fatalf("tmpDir path %q is too short", tmpDir) } if tmpDir[1] != ':' { t.Fatalf("tmpDir path %q must have drive letter in it", tmpDir) } test := EvalSymlinksTest{"test/linkabswin", tmpDir[:3]} // Create the symlink farm using relative paths.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 20:38:54 UTC 2024 - 19.6K bytes - Viewed (0) -
src/cmd/cover/cover_test.go
} else { fmt.Fprintf(os.Stderr, "debug: preserving tmpdir %s\n", topTmpdir) } os.Setenv("CMDCOVER_TEST_RUN_MAIN", "normal") os.Exit(m.Run()) } var tdmu sync.Mutex var tdcount int func tempDir(t *testing.T) string { tdmu.Lock() dir := filepath.Join(testTempDir, fmt.Sprintf("%03d", tdcount)) tdcount++ if err := os.Mkdir(dir, 0777); err != nil { t.Fatal(err) } defer tdmu.Unlock()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 07 16:54:28 UTC 2023 - 18.4K bytes - Viewed (0)