Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIsValidUmaskFile (0.4 sec)

  1. cmd/xl-storage_unix_test.go

    	if int(currentUmask) != testCase.expectedUmask {
    		t.Fatalf("Umask check failed expected %d, got %d", testCase.expectedUmask, currentUmask)
    	}
    }
    
    // Tests if the file creations happen with proper umask.
    func TestIsValidUmaskFile(t *testing.T) {
    	tmpPath := t.TempDir()
    	testCases := []struct {
    		volName       string
    		expectedUmask int
    	}{
    		{"is-this-valid", getUmask()},
    	}
    	testCase := testCases[0]
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jul 25 19:37:26 UTC 2022
    - 3.4K bytes
    - Viewed (0)
Back to top