Open mh182 opened 1 year ago
Add an optional parameter to mock_create [command] to mock commands.
mock_create [command]
Adds following new functions:
mock_chroot
chown
path_override
path_rm
PATH
mock_teardown
I updated the documentation with some examples how those functions can be used.
Add an optional parameter to
mock_create [command]
to mock commands.Adds following new functions:
mock_chroot
to create a deterministic system setup. It does not usechown
- if someone comes up with a better name, suggestions are welcome.path_override
andpath_rm
to manipulatePATH
mock_teardown
for cleanup mock objectsI updated the documentation with some examples how those functions can be used.