- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 164 for tmpdir (0.15 seconds)
-
cmd/xl-storage_unix_test.go
func getUmask() int { mask := syscall.Umask(0) syscall.Umask(mask) return mask } // Tests if the directory and file creations happen with proper umask. 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.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 3.4K bytes - Click Count (0) -
cmd/common-main_test.go
}, { " \t\n Hello, Gophers \n\t\r\n", false, "Hello, Gophers", }, } for _, testCase := range testCases { t.Run("", func(t *testing.T) { tmpfile, err := os.CreateTemp(t.TempDir(), "testfile") if err != nil { t.Error(err) } tmpfile.WriteString(testCase.content) tmpfile.Sync() tmpfile.Close() value, err := readFromSecret(tmpfile.Name())Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.7K bytes - Click Count (2) -
api/go1.15.txt
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Jul 17 02:15:01 GMT 2020 - 7.6K bytes - Click Count (0) -
internal/mountinfo/mountinfo_linux_test.go
/dev/1 /path/to/1 type1 flags 1 1 /dev/2 /path/to/1/2 type2 flags,1,2=3 2 2 /dev/3 /path/to/1.1 type3 flags,1,2=3 3 3 ` var err error dir := t.TempDir() mountsPath := filepath.Join(dir, "mounts") if err = os.WriteFile(mountsPath, []byte(successCase), 0o666); err != nil { t.Fatal(err) } // Failure case where we detected successfully cross device mounts. {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 7.3K bytes - Click Count (0) -
build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt
* limitations under the License. */ package gradlebuild.basics.tasks import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test import org.junit.jupiter.api.io.TempDir import java.nio.file.FileVisitResult import java.nio.file.Files import java.nio.file.Path import java.nio.file.SimpleFileVisitor import java.nio.file.attribute.BasicFileAttributes import java.util.jar.JarEntry
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Mar 25 08:50:34 GMT 2025 - 5.1K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt
import org.gradle.util.internal.TextUtil import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.io.TempDir import java.io.File import java.io.StringWriter abstract class AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest { @TempDir lateinit var projectDir: File lateinit var firstAcceptedApiChangesFile: File lateinit var secondAcceptedApiChangesFile: FileCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Nov 29 14:03:44 GMT 2024 - 6K bytes - Click Count (0) -
internal/disk/disk_test.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Jul 31 22:20:48 GMT 2023 - 1.1K bytes - Click Count (0) -
docs/ftp/README.md
| ftp-client commands | supported | |:-------------------:|:----------| | get | yes | | put | yes | | ls | yes | | mkdir | yes | | rmdir | yes | | delete | yes | | append | no | | rename | no |
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 07 06:41:25 GMT 2024 - 7.8K bytes - Click Count (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy
* limitations under the License. */ package gradlebuild.docs import org.gradle.testkit.runner.GradleRunner import spock.lang.Specification import spock.lang.TempDir class FindBrokenInternalLinksTest extends Specification { @TempDir private File projectDir private File docsRoot private File samplesRoot private File sampleDoc private File sampleSampleDoc private File releaseNotesCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Aug 21 16:24:54 GMT 2025 - 11.6K bytes - Click Count (0) -
build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt
import org.junit.jupiter.api.io.TempDir import java.io.File @EnabledIfEnvironmentVariable(named = "CI", matches = ".*", disabledReason = "Tests rely on setup conditional on CI in gradlebuild.ci-reporting plugin running first, these test should only run if CI env var is present (it's value doesn't matter)") class TestFilesCleanupServiceTest { @TempDir lateinit var projectDir: File private
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Jun 18 10:36:40 GMT 2025 - 10.9K bytes - Click Count (0)