diff options
author | Karel Zak | 2013-04-10 17:30:15 +0200 |
---|---|---|
committer | Karel Zak | 2013-04-10 17:30:15 +0200 |
commit | b46692cd436eab815ebda831ad62cec69298e7e3 (patch) | |
tree | 3afa43174246364888207050aeea8d7379244afe /tests/ts/misc | |
parent | libblkid: remove duplicate includes (diff) | |
download | kernel-qcow2-util-linux-b46692cd436eab815ebda831ad62cec69298e7e3.tar.gz kernel-qcow2-util-linux-b46692cd436eab815ebda831ad62cec69298e7e3.tar.xz kernel-qcow2-util-linux-b46692cd436eab815ebda831ad62cec69298e7e3.zip |
tests: make line(1) optional
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts/misc')
-rwxr-xr-x | tests/ts/misc/line | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ts/misc/line b/tests/ts/misc/line index 41a95fe86..3863a3f89 100755 --- a/tests/ts/misc/line +++ b/tests/ts/misc/line @@ -18,6 +18,10 @@ TS_DESC="line" . $TS_TOPDIR/functions.sh ts_init "$*" +if [ ! -x "$TS_CMD_LINE" ]; then + ts_skip "line disabled" +fi + printf "a\nb\n" | $TS_CMD_LINE > $TS_OUTPUT 2>&1 |