This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]