From: Paul Eggert Date: Fri, 27 May 2005 20:32:43 +0000 (+0000) Subject: (eq-6, gt-5, lt-5): New tests. X-Git-Tag: CPPI-1_12~726 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8cb4f7039ddbe3051ed143ab8dd4727ede58b299;p=thirdparty%2Fcoreutils.git (eq-6, gt-5, lt-5): New tests. --- diff --git a/tests/test/Test.pm b/tests/test/Test.pm index 223b451f76..b1fd54e805 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],