> I've implemented the mock --shell 'echo foo' test
in
> ticket-78-test-fix branch.
> Would be nice if we could verify that is what we want to do. But it
> seems to
> work pretty fine with my testing.
This approach won't work. If mock root is clean then mock shell will
fail.
There is a trivial, self-explanatory, non-disruptive, easily testable
solution I already proposed: skip mock check if a command line option is
given. This is quite common in design of many CLI tools to have some kind
of "force" option. 3-line patch.