r3221 - glibc-package/branches/glibc-2.9/debian/testsuite-checking
Author: aurel32
Date: 2009-01-07 14:21:17 +0000 (Wed, 07 Jan 2009)
New Revision: 3221
Modified:
glibc-package/branches/glibc-2.9/debian/testsuite-checking/compare.sh
Log:
Improve testsuite comparison script
Modified: glibc-package/branches/glibc-2.9/debian/testsuite-checking/compare.sh
===================================================================
--- glibc-package/branches/glibc-2.9/debian/testsuite-checking/compare.sh 2009-01-07 11:11:06 UTC (rev 3220)
+++ glibc-package/branches/glibc-2.9/debian/testsuite-checking/compare.sh 2009-01-07 14:21:17 UTC (rev 3221)
@@ -8,10 +8,10 @@
expected=$(tempfile)
results=$(tempfile)
-sort $1 > $expected
-sort $2 > $results
+grep -v '^#.*' $1 | sort > $expected
+grep -v '^#.*' $2 | sort > $results
-REGRESSIONS=$(diff -wBI '^#.*' $expected $results | sed -e '/^>/!d;s/^> //g')
+REGRESSIONS=$(diff -wB $expected $results | sed -e '/^>/!d;s/^> //g')
rm -f $expected $results
if [ -n "$REGRESSIONS" ] ; then
echo "Encountered regressions that don't match expected failures:"
Reply to: