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
parent 4324e84c12
commit e726b8b78d

View file

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