]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
let's see if the passes with gcc
authorAlan T. DeKok <aland@freeradius.org>
Sat, 4 Dec 2021 15:51:30 +0000 (10:51 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 4 Dec 2021 15:54:50 +0000 (10:54 -0500)
if not, we'll have to find out what's going on, or disable the
relevant tests

src/tests/unit/calc.txt

index a410c5232bc87e617a0f1a2c045b2d8f1870bc69..c07f5af2d401446fbaf1d34ef3bce5f96741083d 100644 (file)
@@ -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