]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: check for missing programs in last(1) test
authorKarel Zak <kzak@redhat.com>
Tue, 11 Jul 2017 11:41:22 +0000 (13:41 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 11 Jul 2017 11:41:22 +0000 (13:41 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
tests/ts/utmp/last

index 64b9b8c20b0511a6c5433e6309a5f6f3b795519a..968310313fd2584843c2ccd55ab8f2fc718071b6 100755 (executable)
@@ -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"