From: Karel Zak Date: Tue, 11 Jul 2017 11:41:22 +0000 (+0200) Subject: tests: check for missing programs in last(1) test X-Git-Tag: v2.31-rc1~214 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c25a3ecaba34242143cbddeabf9fe9f211bdc255;p=thirdparty%2Futil-linux.git tests: check for missing programs in last(1) test Signed-off-by: Karel Zak --- diff --git a/tests/ts/utmp/last b/tests/ts/utmp/last index 64b9b8c20b..968310313f 100755 --- a/tests/ts/utmp/last +++ b/tests/ts/utmp/last @@ -19,6 +19,9 @@ TS_DESC="last" ts_init "$*" ts_check_test_command "$TS_CMD_LAST" +ts_check_test_command "$TS_CMD_UTMPDUMP" +ts_check_prog "ln" + $TS_CMD_LAST --version 2>&1 | grep -q "invalid option" \ && ts_skip "deprecated last"