...but that won't help if the "commands are either executable only by the root-user and/or do things you'd rather not do in a test" — as desired by the OP.
In reply to Re^2: mocking or trapping system calls
by almut
in thread mocking or trapping system calls
by wu-lee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |