From: Karel Zak Date: Wed, 10 Apr 2013 15:30:15 +0000 (+0200) Subject: tests: make line(1) optional X-Git-Tag: v2.23-rc2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b46692cd436eab815ebda831ad62cec69298e7e3;p=thirdparty%2Futil-linux.git tests: make line(1) optional Signed-off-by: Karel Zak --- diff --git a/tests/ts/misc/line b/tests/ts/misc/line index 41a95fe862..3863a3f891 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