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:
parent
4324e84c12
commit
e726b8b78d
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue