tests: fix path to words file on Gentoo/CoreOS

By default there isn't a linux.words file, but there is words.
This commit is contained in:
Michael Marineau 2014-10-19 20:44:34 -07:00 committed by David Michael
parent 5e1829d414
commit c1151f761f
1 changed files with 3 additions and 1 deletions

View File

@ -241,8 +241,10 @@ for ((LOGSECSIZE=MINLOGSECSIZE;LOGSECSIZE<=MAXLOGSECSIZE;LOGSECSIZE=LOGSECSIZE +
CFILESN=1 CFILESN=1
if test -f /usr/share/dict/american-english; then if test -f /usr/share/dict/american-english; then
CFILESSRC[0]="/usr/share/dict/american-english" CFILESSRC[0]="/usr/share/dict/american-english"
else elif test -f /usr/share/dict/linux.words; then
CFILESSRC[0]="/usr/share/dict/linux.words" CFILESSRC[0]="/usr/share/dict/linux.words"
else
CFILESSRC[0]="/usr/share/dict/words"
fi fi
case x"$fs" in case x"$fs" in
# FS LIMITATION: 8.3 names # FS LIMITATION: 8.3 names