Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for runScript (0.07 sec)

  1. pkg/util/iptables/iptables_test.go

    	fcmd := fakeexec.FakeCmd{
    		CombinedOutputScript: []fakeexec.FakeAction{
    			// iptables version check
    			func() ([]byte, []byte, error) { return []byte(iptablesCmd + version), nil, nil },
    		},
    		RunScript: []fakeexec.FakeAction{
    			func() ([]byte, []byte, error) { return []byte(output), []byte(stderrOutput), nil },
    			func() ([]byte, []byte, error) { return nil, []byte(stderrOutput), &fakeexec.FakeExitError{Status: 1} },
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 08 15:21:59 UTC 2023
    - 46.3K bytes
    - Viewed (0)
Back to top