Mislav Marohnić
d86cfe4627
Unpublish SetPrepareCmd
2021-01-28 21:59:30 +01:00
Mislav Marohnić
c308f1cd91
Prevent further use of SetPrepareCmd and InitCmdStubber
2021-01-18 22:44:53 +01:00
Josh Soref
a66a65d422
spelling: unmatched
2020-11-21 21:43:51 -05:00
Mislav Marohnić
6e1e62f496
Consistently print commands in DEBUG mode
2020-11-11 18:17:01 +01:00
Mislav Marohnić
97b176da93
Fix git executable name for Windows in tests
2020-11-11 16:46:49 +01:00
Mislav Marohnić
c87dc00f38
Omit the full path of a command in DEBUG mode
2020-11-11 16:33:13 +01:00
Mislav Marohnić
5b4a08dcb9
Ensure that only PATH is searched when shelling out to external commands
...
Works around https://github.com/golang/go/issues/38736 for Windows.
2020-11-11 16:33:13 +01:00
Mislav Marohnić
f9783fe812
Add exec.Command stub mechanism that matches by arguments
...
Our previous command stub mechanism matches stubs sequentially, which leads to brittle tests when the exec calls get reordered or removed in the implementation.
2020-09-23 18:38:29 +02:00
vilmibm
5187ad4431
move preparecmd and Runnable to its own package
2020-03-23 16:32:29 -05:00