Don't use system dictionary files for DB2 tests
authorGreg Hudson <ghudson@mit.edu>
Wed, 12 Feb 2014 03:16:56 +0000 (22:16 -0500)
committerGreg Hudson <ghudson@mit.edu>
Wed, 12 Feb 2014 04:07:21 +0000 (23:07 -0500)
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

index 7d9f0feb75ff52d826cc3f740ebb975fe323c14f..81db7f7f1c7ad52ded40a07802b050fd8f1cca28 100644 (file)
@@ -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