(t *testing.T)
| 19 | } |
| 20 | |
| 21 | func TestAskpassIsManagementInvocation(t *testing.T) { |
| 22 | t.Parallel() |
| 23 | |
| 24 | // __askpass must skip self-update (it is invoked by sudo mid-command). |
| 25 | assert.True(t, isManagementInvocation([]string{shell.AskpassCommandName, "--", "p"})) |
| 26 | } |
nothing calls this directly
no test coverage detected