From b95beee7096c5a2f96cc57394524ca41f3d75721 Mon Sep 17 00:00:00 2001 From: Ruediger Meier Date: Mon, 2 Jun 2014 22:59:27 +0200 Subject: [PATCH] tests: ignore deprecated last Signed-off-by: Ruediger Meier --- tests/ts/last/ipv6 | 2 ++ tests/ts/last/last | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tests/ts/last/ipv6 b/tests/ts/last/ipv6 index 63a786753e..e3e7dd1b36 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 8ed3102eef..241915a7ff 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 -- 2.47.2