summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-05-27 20:32:28 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-05-27 20:32:28 +0000
commit9b4b372182a3aaa1e45d4c1b8bc76bde689eb42c (patch)
tree82da5fe7fffb83ae82deba5ad9a840cca3c7a629 /tests
parent08338cd87f7813aaf954a49b0ec54f2c2a874dc9 (diff)
downloadcoreutils-9b4b372182a3aaa1e45d4c1b8bc76bde689eb42c.tar.xz
(bigcmp): New test.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/expr/basic4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/expr/basic b/tests/expr/basic
index c5a843dde..240040f18 100755
--- a/tests/expr/basic
+++ b/tests/expr/basic
@@ -59,6 +59,10 @@ my @Tests =
['fail-a', '3 + -', {ERR => "$prog: non-numeric argument\n"},
{EXIT => 3}],
+ # This erroneously succeeded before 5.3.1.
+ ['bigcmp', '-- -2417851639229258349412352 \< 2417851639229258349412352',
+ {OUT => '1'}, {EXIT => 0}],
+
['fail-b', '9 9', {ERR => "$prog: syntax error\n"},
{EXIT => 2}],
['fail-c', {ERR => "$prog: missing operand\n"