You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Steve Loughran <st...@apache.org> on 2005/02/09 13:36:03 UTC

Re: AW: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/option al Rpm.java

Jan.Materne@rzf.fin-nrw.de 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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org