Unfortunately this tool requires a PostgreSQL server and at least two valid XML files.
To run it without an error, it requires at minimum `osm2pgrouting -dbname <db> -user <user> -file <file> -conf <conf>`.
It doesn't even have a `-version` option.

So I wasn't sure how to test something like that... Obviously I can't assume a running server and/or any valid files. Just using `system 'osm2pgrouting'` as a test also failed because the program returns a nonzero value when run without parameters.