gitlab.com/evatix-go/core@v1.3.55/tests/testwrappers/chmodhelpertestwrappers/RwxInstructionsApplyTestCases.go (about)

     1  package chmodhelpertestwrappers
     2  
     3  import "gitlab.com/evatix-go/core/chmodhelper/chmodins"
     4  
     5  // RwxInstructionsApplyTestCases https://ss64.com/bash/chmod.html
     6  var RwxInstructionsApplyTestCases = []RwxInstructionTestWrapper{
     7  	{
     8  		RwxInstructions: []chmodins.RwxInstruction{
     9  			{
    10  				Condition: chmodins.Condition{
    11  					IsSkipOnInvalid:   false,
    12  					IsContinueOnError: false,
    13  					IsRecursive:       false,
    14  				},
    15  				RwxOwnerGroupOther: chmodins.RwxOwnerGroupOther{
    16  					Owner: "*-x",
    17  					Group: "**x",
    18  					Other: "-w-",
    19  				},
    20  			},
    21  		},
    22  		DefaultRwx:      &DefaultRwx,
    23  		IsErrorExpected: false,
    24  		CreatePaths:     CreatePathInstruction1,
    25  		funcName:        RwxApplyOnPath,
    26  		expected:        DefaultExpected,
    27  	},
    28  }