Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Absolute paths for some tests

  • Loading branch information...
commit 20809f671a31c93f0df6773b4ca320f810f4cc45 1 parent ee5b455
@mrook mrook authored
Showing with 11 additions and 11 deletions.
  1. +11 −11 test/etc/tasks/system/ApplyTest.xml
View
22 test/etc/tasks/system/ApplyTest.xml
@@ -85,7 +85,7 @@
</target>
<target name="testFailOnNonExistingDir">
- <apply executable="echo" dir="/tmp/non/existent/dir" >
+ <apply executable="/bin/echo" dir="/tmp/non/existent/dir" >
<fileset dir="/etc" >
<include name="*.ini" />
</fileset>
@@ -93,7 +93,7 @@
</target>
<target name="testChangeToDir">
- <apply executable="ls" dir="/tmp/" addsourcefile="false" >
+ <apply executable="/bin/ls" dir="/tmp/" addsourcefile="false" >
<fileset dir="/etc" >
<include name="*.ini" />
</fileset>
@@ -117,7 +117,7 @@
</target>
<target name="testOutputProperty">
- <apply executable="echo" outputProperty="execOutputProp" addsourcefile="false" parallel="true" >
+ <apply executable="/bin/echo" outputProperty="execOutputProp" addsourcefile="false" parallel="true" >
<arg value="foo" />
<fileset dir="/etc" >
<include name="*.ini" />
@@ -138,7 +138,7 @@
<target name="testEscape">
<!-- 'Echo' combines multiple spaces, but not on MS Windows -->
<apply executable="echo" escape="true" addsourcefile="false" parallel="true">
- <arg line="foo | cat" />
+ <arg line="foo | cat "/>
<fileset dir="/etc" >
<include name="*.ini" />
</fileset>
@@ -154,7 +154,7 @@
</target>
<target name="testOutput">
- <apply executable="echo" output="${execTmpFile}" addsourcefile="false" parallel="true">
+ <apply executable="/bin/echo" output="${execTmpFile}" addsourcefile="false" parallel="true">
<arg value="outfoo" />
<fileset dir="/etc" >
<include name="*.ini" />
@@ -163,7 +163,7 @@
</target>
<target name="testError">
- <apply executable="php" error="${execTmpFile}" addsourcefile="false" parallel="true" >
+ <apply executable="/usr/bin/php" error="${execTmpFile}" addsourcefile="false" parallel="true" >
<arg line=" -r &quot;error_log('errfoo');&quot; " />
<fileset dir="/etc" >
<include name="*.ini" />
@@ -172,7 +172,7 @@
</target>
<target name="testSpawn">
- <apply executable="sleep" spawn="true" addsourcefile="false" parallel="true" >
+ <apply executable="/bin/sleep" spawn="true" addsourcefile="false" parallel="true" >
<arg value="5" />
<fileset dir="/etc" >
<include name="*.ini" />
@@ -181,7 +181,7 @@
</target>
<target name="testNestedArgs">
- <apply executable="echo" addsourcefile="false" parallel="true" >
+ <apply executable="/bin/echo" addsourcefile="false" parallel="true" >
<arg value="Hello" />
<arg line="World" />
<fileset dir="/etc" >
@@ -195,7 +195,7 @@
</target>
<target name="testEscapedArg">
- <apply executable="echo" escape="true" outputProperty="outval" addsourcefile="false" parallel="true">
+ <apply executable="/bin/echo" escape="true" outputProperty="outval" addsourcefile="false" parallel="true">
<arg value="abc$b3!SB" />
<fileset dir="/etc" >
<include name="*.ini" />
@@ -220,7 +220,7 @@
</target>
<target name="testOutputAppend">
- <apply executable="echo" parallel="true" output="${execTmpFile}" append="true" addsourcefile="false" >
+ <apply executable="/bin/echo" parallel="true" output="${execTmpFile}" append="true" addsourcefile="false" >
<arg value="Append OK" />
<fileset dir="/etc" ><include name="*.ini" /></fileset>
<fileset dir="/etc" ><include name="*.conf" /></fileset>
@@ -228,7 +228,7 @@
</target>
<target name="testParallel">
- <apply executable="echo" parallel="true" addsourcefile="false" >
+ <apply executable="/bin/echo" parallel="true" addsourcefile="false" >
<arg value="Hello" />
<fileset dir="/etc" ><include name="*.conf" /></fileset>
</apply>

0 comments on commit 20809f6

Please sign in to comment.
Something went wrong with that request. Please try again.