[git commit] tests: diff testoutput as binary
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Sun Mar 6 00:17:03 UTC 2016
commit: https://git.uclibc.org/uClibc++/commit/?id=868109383ca4e9eeabb28b12b35565f9e1f35fa9
branch: https://git.uclibc.org/uClibc++/commit/?id=refs/heads/master
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
tests/testoutput/runtests.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/testoutput/runtests.sh b/tests/testoutput/runtests.sh
index 00a798f..86180ae 100755
--- a/tests/testoutput/runtests.sh
+++ b/tests/testoutput/runtests.sh
@@ -19,7 +19,7 @@ for x in *.good ; do
if [ $? -eq 1 ] ; then
printf "%-25sFAILED\n" ${TEST}
RETURNVALUE=1
- [ $DODIFF -eq 1 ] && diff -u ${TEST}.good ${TEST}.test
+ [ $DODIFF -eq 1 ] && diff -a -u ${TEST}.good ${TEST}.test
else
printf "%-25sOK\n" ${TEST}
fi
@@ -40,7 +40,7 @@ if [ "$1" = "DODEBUG" ] ; then
cmp ${TEST}.good ${TEST}-old.test
if [ $? -eq 1 ] ; then
printf "%-25sFAILED\n" ${TEST}-old
- [ $DODIFF -eq 1 ] && diff -u ${TEST}.good ${TEST}-old.test
+ [ $DODIFF -eq 1 ] && diff -a -u ${TEST}.good ${TEST}-old.test
RETURNVALUE=1
else
printf "%-25sOK\n" ${TEST}-old
More information about the uClibc-cvs
mailing list