]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(eq-6, gt-5, lt-5): New tests.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 27 May 2005 20:32:43 +0000 (20:32 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 27 May 2005 20:32:43 +0000 (20:32 +0000)
tests/test/Test.pm

index 223b451f768b3522d97d4ff7e93303c33173260e..b1fd54e8052be1d906d4940cc2e15644320b53eb 100644 (file)
@@ -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],