Browse Source

Check if we are online for the online tests (maybe the property is not passed to the test).

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@489122 13f79535-47bb-0310-9956-ffa450edef68
master
Jan Materne 18 years ago
parent
commit
df28041f27
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      src/tests/antunit/types/resources/test.xml

+ 9
- 0
src/tests/antunit/types/resources/test.xml View File

@@ -6,6 +6,15 @@
<property name="zip" location="${dirname}.zip" />
<property name="jar" location="${dirname}.jar" />
<property name="file" location="${dirname}/file.txt" />
<condition property="offline">
<not>
<or>
<http url="http://www.apache.org"/>
<http url="http://www.google.com"/>
</or>
</not>
</condition>

<target name="setUp">



Loading…
Cancel
Save