(t *testing.T)
| 75 | } |
| 76 | |
| 77 | func TestPwd_Command_Windows(t *testing.T) { |
| 78 | if cmd := pwdCommand("Windows", nil); cmd != "cd" { |
| 79 | t.Errorf("Windows pwd: got %q", cmd) |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | func TestCat_Command_Linux(t *testing.T) { |
| 84 | cmd := catCommand("Linux", &implantpb.Request{Args: []string{"/etc/passwd"}}) |
nothing calls this directly
no test coverage detected