Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getExecutedCommand (0.19 sec)

  1. pkg/proxy/conntrack/conntrack_test.go

    	}
    
    	return &testCT{execCT{fexec}, fcmd}
    }
    
    // Gets the command that ct executed. (If it didn't execute any commands, this will
    // return "".)
    func (ct *testCT) getExecutedCommand() string {
    	// FakeExec panics if you try to run more commands than you set it up for. So the
    	// only possibilities here are that we ran 1 command or we ran 0.
    	if ct.execer.(*fakeexec.FakeExec).CommandCalls != 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:08:36 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top