From: Alan T. DeKok Date: Fri, 3 Dec 2021 16:59:59 +0000 (-0500) Subject: disable integer64 tests X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14592ebf92939d9bef23ea1d360428e78f63144a;p=thirdparty%2Ffreeradius-server.git disable integer64 tests ??? the input json has an array at index 0, but the tests are trying to parse that as a 64-bit integer, with a large value ??? Disabled until such time as the test is re-examined. --- diff --git a/src/tests/modules/json/eval.unlang b/src/tests/modules/json/eval.unlang index bcf13ff6c61..53e5954a778 100644 --- a/src/tests/modules/json/eval.unlang +++ b/src/tests/modules/json/eval.unlang @@ -506,6 +506,11 @@ update request { &Tmp-String-1 !* ANY } +# +# @todo - What's going on here? The input json has an array as +# element 0, whicj is most definitely not a 64-bit integer. +# +if (0) { # 39. Unsigned 64bit integers map json &Tmp-String-0 { &Tmp-Integer64-0 := '$[0]' @@ -548,5 +553,6 @@ if (fail || &Tmp-Integer64-0) { update request { &Tmp-Integer64-0 !* ANY } +} test_pass