From 9c9c4327e2a95591784149566699a052ad12fdb9 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 1 Apr 2005 07:40:33 +0000 Subject: Don't let pr treat +1:-1 like +1:18446744073709551615. (neg-page): Add a test for this. --- tests/pr/Test.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/pr') diff --git a/tests/pr/Test.pm b/tests/pr/Test.pm index 066212d44..fd76957c4 100644 --- a/tests/pr/Test.pm +++ b/tests/pr/Test.pm @@ -355,6 +355,10 @@ my @tv = ( # Make sure these fail. ['col-0', '-0', '', '', 1], ['col-inval', '-'.'9'x100, '', '', 1], + +# Before coreutils-5.3.1, --pages=1:-1 would be treated like +# --pages=1:18446744073709551615. +['neg-page', '--pages=1:-1', '', '', 1], ); #']]); -- cgit v1.2.3-54-g00ecf