From e726b8b78d0ceb7582c59fe1174ec2617093071c Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Sun, 19 Oct 2014 20:44:34 -0700 Subject: [PATCH] tests: fix path to words file on Gentoo/CoreOS By default there isn't a linux.words file, but there is words. --- tests/util/grub-fs-tester.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/util/grub-fs-tester.in b/tests/util/grub-fs-tester.in index 669527a90..ee320a176 100644 --- a/tests/util/grub-fs-tester.in +++ b/tests/util/grub-fs-tester.in @@ -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