diff options
author | Jim Meyering <jim@meyering.net> | 2005-04-01 07:40:33 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-04-01 07:40:33 +0000 |
commit | 9c9c4327e2a95591784149566699a052ad12fdb9 (patch) | |
tree | e0d6466a67c6f723320c15d1cceee975332028bd /tests/pr | |
parent | 361d16aba9cd0edfbb63a4bfc910d70b3f48718e (diff) | |
download | coreutils-9c9c4327e2a95591784149566699a052ad12fdb9.tar.xz |
Don't let pr treat +1:-1 like +1:18446744073709551615.
(neg-page): Add a test for this.
Diffstat (limited to 'tests/pr')
-rw-r--r-- | tests/pr/Test.pm | 4 |
1 files changed, 4 insertions, 0 deletions
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], ); #']]); |