From: Sami Kerola Date: Wed, 25 Jul 2012 19:15:20 +0000 (+0200) Subject: tests: look: add words file X-Git-Tag: v2.22-rc1~59 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cd1bca868e0f0576c3f5c9c683e38b33e62c9d5e;p=thirdparty%2Futil-linux.git tests: look: add words file Archlinux words 2.0-4 package does not have 'apple-pie' in words file. Signed-off-by: Sami Kerola --- diff --git a/tests/ts/look/separator b/tests/ts/look/separator index 17d68db64e..51e96c9e7e 100755 --- a/tests/ts/look/separator +++ b/tests/ts/look/separator @@ -34,8 +34,6 @@ TS_DESC="separator" . $TS_TOPDIR/functions.sh ts_init "$*" -[ -f "/usr/share/dict/words" ] || ts_skip "/usr/share/dict/words not such file" - -$TS_CMD_LOOK apple-pie >> $TS_OUTPUT +$TS_CMD_LOOK apple-pie $TS_TOPDIR/ts/look/words >> $TS_OUTPUT ts_finalize diff --git a/tests/ts/look/words b/tests/ts/look/words new file mode 100644 index 0000000000..b67ba9ade6 --- /dev/null +++ b/tests/ts/look/words @@ -0,0 +1,3 @@ +apple +apple-pie +oranges