summaryrefslogtreecommitdiff
path: root/tests/test
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-05-27 20:32:43 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-05-27 20:32:43 +0000
commit8cb4f7039ddbe3051ed143ab8dd4727ede58b299 (patch)
treea983736a56ad189de5ac9c54ed32ef42046d841f /tests/test
parent9b4b372182a3aaa1e45d4c1b8bc76bde689eb42c (diff)
downloadcoreutils-8cb4f7039ddbe3051ed143ab8dd4727ede58b299.tar.xz
(eq-6, gt-5, lt-5): New tests.
Diffstat (limited to 'tests/test')
-rw-r--r--tests/test/Test.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test/Test.pm b/tests/test/Test.pm
index 223b451f7..b1fd54e80 100644
--- a/tests/test/Test.pm
+++ b/tests/test/Test.pm
@@ -49,16 +49,19 @@ sub test_vector
['eq-3', '0 -eq 00', {}, '', 0],
['eq-4', '8 -eq 9', {}, '', 1],
['eq-5', '1 -eq 0', {}, '', 1],
+ ['eq-6', '340282366920938463463374607431768211456 -eq 0', {}, '', 1],
['gt-1', '5 -gt 5', {}, '', 1],
['gt-2', '5 -gt 4', {}, '', 0],
['gt-3', '4 -gt 5', {}, '', 1],
['gt-4', '-1 -gt -2', {}, '', 0],
+ ['gt-5', '18446744073709551616 -gt -18446744073709551616', {}, '', 0],
['lt-1', '5 -lt 5', {}, '', 1],
['lt-2', '5 -lt 4', {}, '', 1],
['lt-3', '4 -lt 5', {}, '', 0],
['lt-4', '-1 -lt -2', {}, '', 1],
+ ['lt-5', '-18446744073709551616 -lt 18446744073709551616', {}, '', 0],
# This evokes `test: 0x0: integer expression expected'.
['inv-1', '0x0 -eq 00', {}, '', 2],