On Tue, Feb 13, 2001 at 01:15:47PM -0500, [EMAIL PROTECTED] wrote:
> On Tue, Feb 13, 2001 at 12:58:22PM -0500, Kurt Starsinic wrote:
> > Can this also be applied to tests that are *supposed* to fail?
>
> Not really, todo has a fairly specific meaning and the test is
> definately failing and is definately supposed to be fixed.
>
> In your case, all you have to do is this:
>
> ok( system($some_command) != 0 );
>
> Just like any other expression.
I'd like to do that, but I haven't (yet) figured out how to say
"perl --exactly-the-command-line-options-this-perl-was-called-with".
For example, I don't know how to discover the -I options that I was
called with. Any ideas?
Peace,
Kurt
| `I knew right away that my pants and your inner child could be |
| best friends. Realize this, sweetheart, I'm squeezing my poodle.' |
| -- Michael G Schwern |