Yep,
the test looks incorrect:
<target name="test4"
depends="init-test4" if="valid.os">
<dirname property="local.dir"
file="/usr/local/foo.txt"/>
<au:assertPropertyEquals name="local.dir"
value="${file.separator}usr${file.separator}local${file
.separator}foo.txt"/>
</target>
Peter
On 5/24/07, Steve Loughran <stevel apache.org> wrote:
> Gump Integration Build wrote:
> > To whom it may engage...
> >
> > This is an automated request, but not an
unsolicited one. For
> > more information please visit http://gump.apache
.org/nagged.html,
> > and/or contact the folk at general gump.apache.org.
> >
> > Project test-ant has an issue affecting its
community integration.
> > This issue affects 1 projects,
> > and has been outstanding for 23 runs.
> > The current state of this project is 'Failed',
with reason 'Build Failed'.
> > For reference only, the following projects are
affected by this:
> > - test-ant : Java based build tool
> >
> >
> > Full details are available at:
> > http://vmgump.apache.org/gump/public/ant/test-ant/in
dex.html
> >
>
>
> Failing in dirname-test, not the locator stuff (which
is working now)
>
> au:antunit] Build File:
>
/x1/gump/public/workspace/ant/src/tests/antunit/taskdefs/dir
name-test.xml
> [au:antunit] Tests run: 5, Failures: 1, Errors: 0, Time
elapsed: 0.057 sec
> [au:antunit] Target: test2 took 0.002 sec
> [au:antunit] Target: test1 took 0 sec
> [au:antunit] Target: test5 took 0.002 sec
> [au:antunit] Target: test4 FAILED
> [au:antunit] at line 35, column 83
> [au:antunit] Message: Expected property 'local.dir'
to have value
> '/usr/local/foo.txt' but was '/usr/local'
> [au:antunit] took 0.004 sec
> [au:antunit] Target: test3 took 0.001 sec
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribe ant.apache.org
> For additional commands, e-mail: dev-help ant.apache.org
>
>
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe ant.apache.org
For additional commands, e-mail: dev-help ant.apache.org
|