diff options
author | Ruediger Meier | 2014-06-02 22:59:27 +0200 |
---|---|---|
committer | Ruediger Meier | 2014-06-03 13:12:42 +0200 |
commit | b95beee7096c5a2f96cc57394524ca41f3d75721 (patch) | |
tree | a43e68c59b79ce453e97fb34961882a400c00560 | |
parent | tests: remove deprecated mount tests (diff) | |
download | kernel-qcow2-util-linux-b95beee7096c5a2f96cc57394524ca41f3d75721.tar.gz kernel-qcow2-util-linux-b95beee7096c5a2f96cc57394524ca41f3d75721.tar.xz kernel-qcow2-util-linux-b95beee7096c5a2f96cc57394524ca41f3d75721.zip |
tests: ignore deprecated last
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
-rwxr-xr-x | tests/ts/last/ipv6 | 2 | ||||
-rwxr-xr-x | tests/ts/last/last | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/ts/last/ipv6 b/tests/ts/last/ipv6 index 63a786753..e3e7dd1b3 100755 --- a/tests/ts/last/ipv6 +++ b/tests/ts/last/ipv6 @@ -19,6 +19,8 @@ TS_DESC="last ipv6" ts_init "$*" ts_check_test_command "$TS_CMD_LAST" +$TS_CMD_LAST --version 2>&1 | grep -q "invalid option" \ + && ts_skip "deprecated last" WTMP_FILE=${TS_OUTDIR}/ipv6-input rm -f $WTMP_FILE diff --git a/tests/ts/last/last b/tests/ts/last/last index 8ed3102ee..241915a7f 100755 --- a/tests/ts/last/last +++ b/tests/ts/last/last @@ -19,6 +19,8 @@ TS_DESC="last" ts_init "$*" ts_check_test_command "$TS_CMD_LAST" +$TS_CMD_LAST --version 2>&1 | grep -q "invalid option" \ + && ts_skip "deprecated last" WTMP_FILE=${TS_OUTDIR}/wtmp rm -f $WTMP_FILE |