summaryrefslogtreecommitdiffstats
path: root/tests/ts/more
diff options
context:
space:
mode:
authorKarel Zak2015-03-25 17:36:28 +0100
committerKarel Zak2015-03-25 17:36:28 +0100
commit87db0047ea364152f32c10b8aefac4a5b8359d7d (patch)
tree0c69a47ab8a8edf3d912f926e9d22bfe467605f9 /tests/ts/more
parentdocs: remove obsolete things from TODO (diff)
downloadkernel-qcow2-util-linux-87db0047ea364152f32c10b8aefac4a5b8359d7d.tar.gz
kernel-qcow2-util-linux-87db0047ea364152f32c10b8aefac4a5b8359d7d.tar.xz
kernel-qcow2-util-linux-87db0047ea364152f32c10b8aefac4a5b8359d7d.zip
tests: more(1) depends on terminal, force to TERM=linux
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts/more')
-rwxr-xr-xtests/ts/more/regexp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ts/more/regexp b/tests/ts/more/regexp
index 67c6f6281..7b4f39652 100755
--- a/tests/ts/more/regexp
+++ b/tests/ts/more/regexp
@@ -20,6 +20,7 @@ ts_init "$*"
ts_check_test_command "$TS_HELPER_MORE"
+export TERM=linux
printf "abba\nbar\nfoo\nxyzzy\n" |
$TS_HELPER_MORE +/foo > $TS_OUTPUT 2>&1