diff options
author | Karel Zak | 2017-07-11 13:41:22 +0200 |
---|---|---|
committer | Karel Zak | 2017-07-11 13:41:22 +0200 |
commit | c25a3ecaba34242143cbddeabf9fe9f211bdc255 (patch) | |
tree | f698a9c70f579e076629f45bae84e92d4b296139 /tests/ts/utmp | |
parent | tests: use sample-fdisk-mkpart (diff) | |
download | kernel-qcow2-util-linux-c25a3ecaba34242143cbddeabf9fe9f211bdc255.tar.gz kernel-qcow2-util-linux-c25a3ecaba34242143cbddeabf9fe9f211bdc255.tar.xz kernel-qcow2-util-linux-c25a3ecaba34242143cbddeabf9fe9f211bdc255.zip |
tests: check for missing programs in last(1) test
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts/utmp')
-rwxr-xr-x | tests/ts/utmp/last | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ts/utmp/last b/tests/ts/utmp/last index 64b9b8c20..968310313 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" |