debian-forge-cli/cmd/image-builder
Michael Vogt bb45b89d84 testutil: remove unnecessary testutil.MockCmd.Restore()
While looking over the code I noticed that the `Restore()` helper
is not needed (and arguably wrong as it does not reset PATH).
We already use `t.TempDir()` and `t.Setenv()` as part of the
command setup so manually cleanup is not neccessary (and is today
even incomplete). So YAGNI and we can remove Restore().
2025-07-17 06:44:29 +00:00
..
build.go import: refer to pkg 2025-03-31 19:42:59 +00:00
describeimg.go cmd/describe: fix describing of '*-simplified-installer' images 2025-06-23 18:31:27 +00:00
describeimg_test.go cmd/describe: test that all images can be described 2025-06-23 18:31:27 +00:00
distro.go image-builder: newline in error message 2025-01-20 06:55:24 +00:00
distro_test.go image-builder: newline in error message 2025-01-20 06:55:24 +00:00
export_test.go cmd/describe: test that all images can be described 2025-06-23 18:31:27 +00:00
filters.go cmd/describe: test that all images can be described 2025-06-23 18:31:27 +00:00
filters_test.go main: add new --extra-repo flag 2025-02-12 12:57:21 +01:00
list.go main: add new --extra-repo flag 2025-02-12 12:57:21 +01:00
main.go main: --version includes git commit 2025-07-15 08:50:19 +00:00
main_test.go testutil: remove unnecessary testutil.MockCmd.Restore() 2025-07-17 06:44:29 +00:00
manifest.go Always set rhsm.Facts when generating manifests 2025-07-09 06:52:47 +00:00
repos.go main: add --force-repo flag 2025-02-13 11:31:06 +00:00
repos_test.go main: add --force-repo flag 2025-02-13 11:31:06 +00:00
upload.go upload: try to auto-detect the upload arch from the filename 2025-06-07 12:29:18 +00:00
upload_test.go testutil: remove unnecessary testutil.MockCmd.Restore() 2025-07-17 06:44:29 +00:00
version.go main: --version includes git commit 2025-07-15 08:50:19 +00:00