in reply to mocking or trapping system calls
I just want to clarify: You want to test code that you don't control, right? If it were your own code, you could just change it to do something other than system() and backticks.
Can you tell us more about the job this code is doing? Even if we can't figure out how to bamboozle system(), backticks, etc, we might be able to come up with an alternative approach.
--Pileofrogs
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: mocking or trapping system calls
by wu-lee (Beadle) on May 10, 2008 at 23:44 UTC | |
by Anonymous Monk on May 12, 2008 at 17:38 UTC |