summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-04-02 17:48:16 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-04-02 17:48:16 +0200
commit54ed0db16461fbb0deef48d5308fa7262f021c3b (patch)
treeced5ce9a1f13dcf9f79c837e78f3aabf5d9e404e
parent2118386fe67477f1a8b989b14ad320041ed8a879 (diff)
downloadbin-54ed0db16461fbb0deef48d5308fa7262f021c3b.tar.gz
bin-54ed0db16461fbb0deef48d5308fa7262f021c3b.tar.xz
pp-test: catch stderr when comparing
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xpp-test2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp-test b/pp-test
index 0924981..5158a23 100755
--- a/pp-test
+++ b/pp-test
@@ -14,7 +14,7 @@ testcase() {
return 1
fi
echo "testing $basepath.i$1"
- java -ea "$prog" < "$basepath.i$1" > tmpout
+ java -ea "$prog" < "$basepath.i$1" &> tmpout
diff --strip-trailing-cr -Nua "$basepath.o$1" tmpout
rm tmpout
}