Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestDeleterTempDir (0.13 sec)

  1. pkg/volume/hostpath/host_path_test.go

    	}
    	if exists, _ := utilpath.Exists(utilpath.CheckFollowSymlink, tempPath); exists {
    		t.Errorf("Temp path expected to be deleted, but was found at %s", tempPath)
    	}
    }
    
    func TestDeleterTempDir(t *testing.T) {
    	tests := map[string]struct {
    		expectedFailure bool
    		path            string
    	}{
    		"just-tmp": {true, "/tmp"},
    		"not-tmp":  {true, "/nottmp"},
    		"good-tmp": {false, "/tmp/scratch"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 20.5K bytes
    - Viewed (0)
Back to top