[EMAIL PROTECTED] wrote:
Modified: src/main/org/apache/tools/ant/taskdefs/optional Rpm.java
Log:
return code checking on rpm. How do we test this?



Using a mock object for rpm? Could return the value of a system parameter or file content or env variable ...

<rpm rpmBuildCommand="rpm-mock"/>

Because rpm runs only on *nix, the test doesnt have to be platform
independant.



Or we really could rpm something up, then <exec> something to look at it

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to