This commit adds a new testutil.MockCommand() helper that will mock a command in $PATH to allow easier testing of e.g. the `image-builder-cli build` comamnd that will invoke osbuild. |
||
|---|---|---|
| .. | ||
| testutil.go | ||
| testutil_test.go | ||
This commit adds a new testutil.MockCommand() helper that will mock a command in $PATH to allow easier testing of e.g. the `image-builder-cli build` comamnd that will invoke osbuild. |
||
|---|---|---|
| .. | ||
| testutil.go | ||
| testutil_test.go | ||