summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2011-11-18 09:30:53 +0100
committerFlorian Pritz <bluewind@xinu.at>2011-11-18 09:30:53 +0100
commitc71729bea87f323f3de145f564890ed981eb840d (patch)
tree5a382eafc67aec9372ff394701b66f18600866d2
parent9726797027faa90ebc02fcc1b1f32e71158e11b0 (diff)
downloadbin-c71729bea87f323f3de145f564890ed981eb840d.tar.gz
bin-c71729bea87f323f3de145f564890ed981eb840d.tar.xz
pp-test: remove replace dos2unix calls with diff option
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xpp-test3
1 files changed, 1 insertions, 2 deletions
diff --git a/pp-test b/pp-test
index e84ecb7..fa3f851 100755
--- a/pp-test
+++ b/pp-test
@@ -15,8 +15,7 @@ testcase() {
fi
echo "testing $basepath.i$1"
java -ea "$prog" < "$basepath.i$1" > tmpout
- dos2unix tmpout
- diff -Nua "$basepath.o$1" tmpout
+ diff --strip-trailing-cr -Nua "$basepath.o$1" tmpout
rm tmpout
}