From: Ruediger Meier Date: Mon, 2 Jun 2014 20:59:27 +0000 (+0200) Subject: tests: ignore deprecated last X-Git-Tag: v2.25-rc1~50^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b95beee7096c5a2f96cc57394524ca41f3d75721;p=thirdparty%2Futil-linux.git tests: ignore deprecated last Signed-off-by: Ruediger Meier --- 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