summaryrefslogtreecommitdiffstats
path: root/tests/ts/look
diff options
context:
space:
mode:
authorSami Kerola2012-07-25 21:15:20 +0200
committerKarel Zak2012-07-26 11:08:33 +0200
commitcd1bca868e0f0576c3f5c9c683e38b33e62c9d5e (patch)
treec2e5695bb4be1c4170f7de5fa42f171b401dc533 /tests/ts/look
parenttests: partx changed default output format (diff)
downloadkernel-qcow2-util-linux-cd1bca868e0f0576c3f5c9c683e38b33e62c9d5e.tar.gz
kernel-qcow2-util-linux-cd1bca868e0f0576c3f5c9c683e38b33e62c9d5e.tar.xz
kernel-qcow2-util-linux-cd1bca868e0f0576c3f5c9c683e38b33e62c9d5e.zip
tests: look: add words file
Archlinux words 2.0-4 package does not have 'apple-pie' in words file. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'tests/ts/look')
-rwxr-xr-xtests/ts/look/separator4
-rw-r--r--tests/ts/look/words3
2 files changed, 4 insertions, 3 deletions
diff --git a/tests/ts/look/separator b/tests/ts/look/separator
index 17d68db64..51e96c9e7 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 000000000..b67ba9ade
--- /dev/null
+++ b/tests/ts/look/words
@@ -0,0 +1,3 @@
+apple
+apple-pie
+oranges