summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2004-08-27 19:45:46 +0000
committerKen Raeburn <raeburn@mit.edu>2004-08-27 19:45:46 +0000
commit83e6a7b8ab87f393d97beb58880d2f4861a99c60 (patch)
tree38bf818e331c278a699b0f7b0f20ca25c5ac1255 /src
parentb06c64321b0cef679623d264f19ba64e625d1f32 (diff)
downloadkrb5-83e6a7b8ab87f393d97beb58880d2f4861a99c60.tar.gz
krb5-83e6a7b8ab87f393d97beb58880d2f4861a99c60.tar.xz
krb5-83e6a7b8ab87f393d97beb58880d2f4861a99c60.zip
* 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
Diffstat (limited to 'src')
-rw-r--r--src/util/db2/test/ChangeLog7
-rw-r--r--src/util/db2/test/run.test5
2 files changed, 11 insertions, 1 deletions
diff --git a/src/util/db2/test/ChangeLog b/src/util/db2/test/ChangeLog
index 54c0f218c0..cfcce7d7fa 100644
--- a/src/util/db2/test/ChangeLog
+++ b/src/util/db2/test/ChangeLog
@@ -1,3 +1,10 @@
+2004-08-27 Ken Raeburn <raeburn@mit.edu>
+
+ * 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 <raeburn@mit.edu>
* 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 6b45a48517..48c3a63d0e 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