krb5 commit: Don't use system dictionary files for DB2 tests

Greg Hudson ghudson at MIT.EDU
Tue Feb 11 23:17:10 EST 2014


https://github.com/krb5/krb5/commit/d21a86e47a7cda29225013e08d060095b94b2ee7
commit d21a86e47a7cda29225013e08d060095b94b2ee7
Author: Greg Hudson <ghudson at mit.edu>
Date:   Tue Feb 11 22:16:56 2014 -0500

    Don't use system dictionary files for DB2 tests
    
    The system dictionary may contain entries with punctuation, which can
    confuse the shell.  It's more predictable to always use the word list
    from the source tree.
    
    ticket: 7860
    status: open

 src/plugins/kdb/db2/libdb2/test/run.test |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/src/plugins/kdb/db2/libdb2/test/run.test b/src/plugins/kdb/db2/libdb2/test/run.test
index 7d9f0fe..81db7f7 100644
--- a/src/plugins/kdb/db2/libdb2/test/run.test
+++ b/src/plugins/kdb/db2/libdb2/test/run.test
@@ -15,14 +15,6 @@ main()
 
 	if [ \! -z "$WORDLIST" -a -f "$WORDLIST" ]; then
 		DICT=$WORDLIST
-	elif [ -f /usr/local/lib/dict/words ]; then
-		DICT=/usr/local/lib/dict/words
-	elif [ -f /usr/share/dict/words ]; then
-		DICT=/usr/share/dict/words
-	elif [ -f /usr/dict/words ]; then
-		DICT=/usr/dict/words
-	elif [ -f /usr/share/lib/dict/words ]; then
-		DICT=/usr/share/lib/dict/words
 	elif [ -f $srcdir/../test/dictionary ]; then
 		DICT=`cd $srcdir/../test && pwd`/dictionary
 	else


More information about the cvs-krb5 mailing list