From: Alan T. DeKok Date: Sat, 4 Dec 2021 15:51:30 +0000 (-0500) Subject: let's see if the passes with gcc X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=687486dde723ee6c967662dfa17239542ec9430a;p=thirdparty%2Ffreeradius-server.git let's see if the passes with gcc if not, we'll have to find out what's going on, or disable the relevant tests --- diff --git a/src/tests/unit/calc.txt b/src/tests/unit/calc.txt index a410c5232bc..c07f5af2d40 100644 --- a/src/tests/unit/calc.txt +++ b/src/tests/unit/calc.txt @@ -26,6 +26,9 @@ match 13 calc int8 0x7f & uint8 0x40 -> uint8 match 64 +calc uint8 5 - uint8 16 -> uint8 +match Value overflows/underflows when calculating answer for uint8 + # # Intermediate values are too large for destination, but the # resulting value can fit. @@ -136,4 +139,4 @@ calc string "2" += string "test" match 2test count -match 54 +match 56