From: Ken Raeburn Date: Fri, 27 Aug 2004 19:45:46 +0000 (+0000) Subject: * run.test (getnwords): Run data through "cat -v", because at least one version X-Git-Tag: krb5-1.4-beta1~122 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=83e6a7b8ab87f393d97beb58880d2f4861a99c60;p=krb5.git * run.test (getnwords): Run data through "cat -v", because at least one version of Debian Linux has an English dictionary with Latin-1 characters and a "rev" that seems to default to some sort of Unicode. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16690 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/db2/test/ChangeLog b/src/util/db2/test/ChangeLog index 54c0f218c..cfcce7d7f 100644 --- a/src/util/db2/test/ChangeLog +++ b/src/util/db2/test/ChangeLog @@ -1,3 +1,10 @@ +2004-08-27 Ken Raeburn + + * run.test (getnwords): Run data through "cat -v", because at + least one version of Debian Linux has an English dictionary with + Latin-1 characters and a "rev" that seems to default to some sort + of Unicode. + 2004-08-15 Ken Raeburn * run.test (getnwords): Rewrite to drop blank lines before diff --git a/src/util/db2/test/run.test b/src/util/db2/test/run.test index 6b45a4851..48c3a63d0 100644 --- a/src/util/db2/test/run.test +++ b/src/util/db2/test/run.test @@ -69,7 +69,10 @@ main() } getnwords() { - sed -e '/^$/d' < $DICT | sed -e ${1}q + # Delete blank lines because the db code appears not to + # like empty keys. On Debian Linux, $DICT appears to contain + # some non-ASCII characters, and "rev" chokes on them. + sed -e '/^$/d' < $DICT | cat -v | sed -e ${1}q } # Take the first hundred entries in the dictionary, and make them