diff options
author | Sami Kerola | 2014-02-16 16:22:56 +0100 |
---|---|---|
committer | Karel Zak | 2014-03-07 11:52:57 +0100 |
commit | 2f791546395cb43f3f93de6c095c812c7cd5237f (patch) | |
tree | 0fe025270e9c5acbb15ef7d433c553a72fdfdf1e /tests/ts/more | |
parent | tools: make config-gen to require build target argument (diff) | |
download | kernel-qcow2-util-linux-2f791546395cb43f3f93de6c095c812c7cd5237f.tar.gz kernel-qcow2-util-linux-2f791546395cb43f3f93de6c095c812c7cd5237f.tar.xz kernel-qcow2-util-linux-2f791546395cb43f3f93de6c095c812c7cd5237f.zip |
tests: check commands needed for running a test exist
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts/more')
-rwxr-xr-x | tests/ts/more/regexp | 2 | ||||
-rwxr-xr-x | tests/ts/more/squeeze | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/ts/more/regexp b/tests/ts/more/regexp index 947f55624..67c6f6281 100755 --- a/tests/ts/more/regexp +++ b/tests/ts/more/regexp @@ -18,6 +18,8 @@ TS_DESC="regexp" . $TS_TOPDIR/functions.sh ts_init "$*" +ts_check_test_command "$TS_HELPER_MORE" + printf "abba\nbar\nfoo\nxyzzy\n" | $TS_HELPER_MORE +/foo > $TS_OUTPUT 2>&1 diff --git a/tests/ts/more/squeeze b/tests/ts/more/squeeze index 16b537e3a..d5b4a6ab7 100755 --- a/tests/ts/more/squeeze +++ b/tests/ts/more/squeeze @@ -18,6 +18,8 @@ TS_DESC="squeeze" . $TS_TOPDIR/functions.sh ts_init "$*" +ts_check_test_command "$TS_HELPER_MORE" + printf "a\n\n\nb\n" | $TS_HELPER_MORE -s > $TS_OUTPUT 2>&1 |