projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
361d16a
)
Don't let pr treat +1:-1 like +1:18446744073709551615.
author
Jim Meyering
<jim@meyering.net>
Fri, 1 Apr 2005 07:40:33 +0000
(07:40 +0000)
committer
Jim Meyering
<jim@meyering.net>
Fri, 1 Apr 2005 07:40:33 +0000
(07:40 +0000)
(neg-page): Add a test for this.
tests/pr/Test.pm
patch
|
blob
|
history
diff --git
a/tests/pr/Test.pm
b/tests/pr/Test.pm
index
066212d
..
fd76957
100644
(file)
--- 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],
);
#']]);