This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[PATCH] Improve output when sort test fail
- From: Petter Reinholdtsen <pere at hungry dot com>
- To: libc-alpha at sources dot redhat dot com
- Date: Wed, 30 Apr 2003 01:03:41 +0200
- Subject: [PATCH] Improve output when sort test fail
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