|
@@ -58,11 +58,11 @@ |
|
|
<input message="Press Return key to continue..." addproperty="test"> |
|
|
<input message="Press Return key to continue..." addproperty="test"> |
|
|
<handler type="greedy" /> |
|
|
<handler type="greedy" /> |
|
|
</input> |
|
|
</input> |
|
|
|
|
|
<loadfile srcFile="input.stdin" property="input" /> |
|
|
<fail message="$${test} = ${test}"> |
|
|
<fail message="$${test} = ${test}"> |
|
|
<condition> |
|
|
<condition> |
|
|
<not> |
|
|
<not> |
|
|
<equals arg1="${test}" |
|
|
|
|
|
arg2="foo${line.separator}bar${line.separator}" /> |
|
|
|
|
|
|
|
|
<equals arg1="${test}" arg2="${input}" /> |
|
|
</not> |
|
|
</not> |
|
|
</condition> |
|
|
</condition> |
|
|
</fail> |
|
|
</fail> |
|
@@ -72,11 +72,11 @@ |
|
|
<input message="Press Return key to continue..." addproperty="test"> |
|
|
<input message="Press Return key to continue..." addproperty="test"> |
|
|
<handler classname="org.apache.tools.ant.input.GreedyInputHandler" /> |
|
|
<handler classname="org.apache.tools.ant.input.GreedyInputHandler" /> |
|
|
</input> |
|
|
</input> |
|
|
|
|
|
<loadfile srcFile="input.stdin" property="input" /> |
|
|
<fail message="$${test} = ${test}"> |
|
|
<fail message="$${test} = ${test}"> |
|
|
<condition> |
|
|
<condition> |
|
|
<not> |
|
|
<not> |
|
|
<equals arg1="${test}" |
|
|
|
|
|
arg2="foo${line.separator}bar${line.separator}" /> |
|
|
|
|
|
|
|
|
<equals arg1="${test}" arg2="${input}" /> |
|
|
</not> |
|
|
</not> |
|
|
</condition> |
|
|
</condition> |
|
|
</fail> |
|
|
</fail> |
|
@@ -90,11 +90,11 @@ |
|
|
<input message="Press Return key to continue..." addproperty="test"> |
|
|
<input message="Press Return key to continue..." addproperty="test"> |
|
|
<handler refid="greedy" /> |
|
|
<handler refid="greedy" /> |
|
|
</input> |
|
|
</input> |
|
|
|
|
|
<loadfile srcFile="input.stdin" property="input" /> |
|
|
<fail message="$${test} = ${test}"> |
|
|
<fail message="$${test} = ${test}"> |
|
|
<condition> |
|
|
<condition> |
|
|
<not> |
|
|
<not> |
|
|
<equals arg1="${test}" |
|
|
|
|
|
arg2="foo${line.separator}bar${line.separator}" /> |
|
|
|
|
|
|
|
|
<equals arg1="${test}" arg2="${input}" /> |
|
|
</not> |
|
|
</not> |
|
|
</condition> |
|
|
</condition> |
|
|
</fail> |
|
|
</fail> |
|
|