Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestConvertToRuntimeReadonlyPaths (0.3 sec)

  1. pkg/securitycontext/util_test.go

    		actual := ConvertToRuntimeMaskedPaths(v.pm)
    		if !reflect.DeepEqual(actual, v.expect) {
    			t.Errorf("%s failed, expected %#v but received %#v", k, v.expect, actual)
    		}
    	}
    }
    
    func TestConvertToRuntimeReadonlyPaths(t *testing.T) {
    	dPM := v1.DefaultProcMount
    	uPM := v1.UnmaskedProcMount
    	tests := map[string]struct {
    		pm     *v1.ProcMountType
    		expect []string
    	}{
    		"procMount nil": {
    			pm:     nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 05 01:25:23 UTC 2020
    - 5K bytes
    - Viewed (0)
Back to top