Handling Errors/Error on Mutual Excluding Options II [ System tests ]

FUNCTION

ROBODoc should complain about options that can not be used together.

SOURCE

{
    add_source( "test.c", $source );
    my ($out, $err) = runrobo( qw(--src Src --doc Doc --multidoc --test --dbxml --html) );
    like($out, qr/Usage/, 'Mutual excluding options should print usage' );
    print $err;
    like($err, qr/together/, 'and an error message'   );
    clean();
}