- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestFindExistingPrefix (0.24 sec)
-
pkg/volume/util/subpath/subpath_windows_test.go
// remove dir will happen after closing all file handles assert.Nil(t, os.RemoveAll(testingVolumePath), "Expect no error during remove dir %s", testingVolumePath) } func TestFindExistingPrefix(t *testing.T) { base, err := ioutil.TempDir("", "TestFindExistingPrefix") if err != nil { t.Fatalf(err.Error()) } defer os.RemoveAll(base) testingVolumePath := filepath.Join(base, "testingVolumePath")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 13.8K bytes - Viewed (0) -
pkg/volume/util/subpath/subpath_linux_test.go
return "", err } defer func() { os.Chdir(oldDir) }() _, socketCreateError := net.Listen("unix", "mt.sock") return testSocketFile, socketCreateError } func TestFindExistingPrefix(t *testing.T) { defaultPerm := os.FileMode(0750) tests := []struct { name string // Function that prepares directory structure for the test under given // base.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 10 16:52:55 UTC 2021 - 37.3K bytes - Viewed (0)