[PATCH] Improve output when sort test fail
Petter Reinholdtsen
pere@hungry.com
Tue Apr 29 23:03:00 GMT 2003
I'm looking at the sorting order for ethiopian, and why the sort test
failed. In the process I added debug output to sort-test.sh. Please
include this patch in the official source.
2003-04-30 Petter Reinholdtsen <pere@hungry.com>
* sort-test.sh: Output 'diff -u' when sorting test failed, to make
it easier to find out what was wrong with the sorting order.
Index: localedata/sort-test.sh
===================================================================
RCS file: /cvs/glibc/libc/localedata/sort-test.sh,v
retrieving revision 1.10
diff -u -3 -p -u -r1.10 sort-test.sh
--- localedata/sort-test.sh 22 Aug 2000 07:53:41 -0000 1.10
+++ localedata/sort-test.sh 29 Apr 2003 23:01:28 -0000
@@ -27,6 +27,7 @@ for l in $lang; do
echo "$l OK"
else
echo "$l FAIL"
+ diff -u $cns.in ${common_objpfx}localedata/$cns.xout | sed 's/^/ /'
status=1
fi
done
More information about the Libc-alpha
mailing list