summaryrefslogtreecommitdiffstats
path: root/fluent-bit/lib/jansson-e23f558/test
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:19:16 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-24 09:53:24 +0000
commitb5f8ee61a7f7e9bd291dd26b0585d03eb686c941 (patch)
treed4d31289c39fc00da064a825df13a0b98ce95b10 /fluent-bit/lib/jansson-e23f558/test
parentAdding upstream version 1.44.3. (diff)
downloadnetdata-upstream.tar.xz
netdata-upstream.zip
Adding upstream version 1.46.3.upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'fluent-bit/lib/jansson-e23f558/test')
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/.gitignore20
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/Makefile.am10
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/bin/Makefile.am5
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/bin/json_process.c366
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/ossfuzz/.gitignore1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/ossfuzz/Makefile.am32
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/ossfuzz/json_load_dump_fuzzer.cc132
-rwxr-xr-xfluent-bit/lib/jansson-e23f558/test/ossfuzz/ossfuzz.sh30
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/ossfuzz/standaloneengine.cc74
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/ossfuzz/testinput.h3
-rwxr-xr-xfluent-bit/lib/jansson-e23f558/test/ossfuzz/travisoss.sh38
-rwxr-xr-xfluent-bit/lib/jansson-e23f558/test/run-suites50
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/scripts/run-tests.sh100
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/scripts/valgrind.sh35
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/.gitattributes2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/Makefile.am2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/api/Makefile.am42
-rwxr-xr-xfluent-bit/lib/jansson-e23f558/test/suites/api/check-exports23
-rwxr-xr-xfluent-bit/lib/jansson-e23f558/test/suites/api/run36
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/api/test_array.c484
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/api/test_chaos.c168
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/api/test_copy.c375
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/api/test_dump.c311
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/api/test_dump_callback.c82
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/api/test_equal.c202
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/api/test_fixed_size.c228
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/api/test_load.c238
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/api/test_load_callback.c77
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/api/test_loadb.c37
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/api/test_memory_funcs.c115
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/api/test_number.c123
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/api/test_object.c797
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/api/test_pack.c547
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/api/test_simple.c287
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/api/test_sprintf.c29
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/api/test_unpack.c431
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/api/test_version.c61
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/api/util.h93
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/array/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/array/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/compact-array/env2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/compact-array/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/compact-array/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/compact-object/env3
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/compact-object/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/compact-object/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/ensure-ascii/env2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/ensure-ascii/input8
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/ensure-ascii/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-array/env2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-array/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-array/output4
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-compact-array/env3
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-compact-array/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-compact-array/output4
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-compact-object/env4
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-compact-object/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-compact-object/output4
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-object/env3
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-object/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-object/output4
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/object/env2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/object/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/object/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/preserve-order/env2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/preserve-order/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/preserve-order/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/real-precision/env2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/real-precision/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/real-precision/output1
-rwxr-xr-xfluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/run32
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/sort-keys/env2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/sort-keys/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/sort-keys/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/encoded-surrogate-half/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/encoded-surrogate-half/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-after-backslash/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-after-backslash/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-array/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-array/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-bigger-int/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-bigger-int/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-escape/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-escape/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-exponent/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-exponent/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-identifier/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-identifier/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-int/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-int/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-real-after-e/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-real-after-e/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-string/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-string/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/lone-invalid-utf-8/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/lone-invalid-utf-8/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/lone-utf-8-continuation-byte/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/lone-utf-8-continuation-byte/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/not-in-unicode-range/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/not-in-unicode-range/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/overlong-3-byte-encoding/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/overlong-3-byte-encoding/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/overlong-4-byte-encoding/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/overlong-4-byte-encoding/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/overlong-ascii-encoding/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/overlong-ascii-encoding/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/restricted-utf-8/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/restricted-utf-8/input1
-rwxr-xr-xfluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/run27
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/truncated-utf-8/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/truncated-utf-8/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/apostrophe/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/apostrophe/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/ascii-unicode-identifier/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/ascii-unicode-identifier/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/brace-comma/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/brace-comma/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/bracket-comma/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/bracket-comma/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/bracket-one-comma/error.normal2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/bracket-one-comma/error.strip2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/bracket-one-comma/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/empty/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/empty/input0
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/extra-comma-in-array/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/extra-comma-in-array/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/extra-comma-in-multiline-array/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/extra-comma-in-multiline-array/input6
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/garbage-after-newline/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/garbage-after-newline/input2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/garbage-at-the-end/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/garbage-at-the-end/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/integer-starting-with-zero/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/integer-starting-with-zero/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-escape/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-escape/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-identifier/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-identifier/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-negative-integer/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-negative-integer/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-negative-real/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-negative-real/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-second-surrogate/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-second-surrogate/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-unicode-escape/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-unicode-escape/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-open-brace/error.normal2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-open-brace/error.strip2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-open-brace/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-open-bracket/error.normal2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-open-bracket/error.strip2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-open-bracket/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-second-surrogate/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-second-surrogate/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/minus-sign-without-number/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/minus-sign-without-number/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/negative-integer-starting-with-zero/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/negative-integer-starting-with-zero/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-in-object-key/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-in-object-key/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-in-string/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-in-string/inputbin28 -> 0 bytes
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-in-string/nostrip2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-outside-string/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-outside-string/inputbin3 -> 0 bytes
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-outside-string/nostrip2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-escape-in-string/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-escape-in-string/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/null/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/null/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-apostrophes/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-apostrophes/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-garbage-at-end/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-garbage-at-end/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-in-unterminated-array/error.normal2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-in-unterminated-array/error.strip2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-in-unterminated-array/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-no-colon/error.normal2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-no-colon/error.strip2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-no-colon/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-no-value/error.normal2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-no-value/error.strip2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-no-value/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-unterminated-value/error.normal2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-unterminated-value/error.strip2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-unterminated-value/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-garbage-after-e/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-garbage-after-e/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-negative-overflow/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-negative-overflow/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-positive-overflow/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-positive-overflow/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-truncated-at-e/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-truncated-at-e/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-truncated-at-point/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-truncated-at-point/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/recursion-depth/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/recursion-depth/input1
-rwxr-xr-xfluent-bit/lib/jansson-e23f558/test/suites/invalid/run57
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/tab-character-in-string/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/tab-character-in-string/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/too-big-negative-integer/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/too-big-negative-integer/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/too-big-positive-integer/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/too-big-positive-integer/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/truncated-unicode-surrogate/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/truncated-unicode-surrogate/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/unicode-identifier/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/unicode-identifier/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-array-and-object/error.normal2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-array-and-object/error.strip2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-array-and-object/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-array/error.normal2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-array/error.strip2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-array/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-empty-key/error.normal2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-empty-key/error.strip2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-empty-key/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-key/error.normal2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-key/error.strip2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-key/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-object-and-array/error2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-object-and-array/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-string/error.normal2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-string/error.strip2
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-string/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/complex-array/env1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/complex-array/input5
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/complex-array/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-array/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-array/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-object-in-array/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-object-in-array/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-object/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-object/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-string/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-string/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/escaped-utf-control-char/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/escaped-utf-control-char/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/false/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/false/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/negative-int/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/negative-int/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/negative-one/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/negative-one/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/negative-zero/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/negative-zero/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/null/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/null/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/one-byte-utf-8/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/one-byte-utf-8/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/real-capital-e-negative-exponent/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/real-capital-e-negative-exponent/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/real-capital-e-positive-exponent/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/real-capital-e-positive-exponent/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/real-capital-e/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/real-capital-e/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/real-exponent/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/real-exponent/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/real-fraction-exponent/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/real-fraction-exponent/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/real-negative-exponent/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/real-negative-exponent/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/real-positive-exponent/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/real-positive-exponent/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/real-subnormal-number/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/real-subnormal-number/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/real-underflow/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/real-underflow/output1
-rwxr-xr-xfluent-bit/lib/jansson-e23f558/test/suites/valid/run56
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/short-string/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/short-string/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-ascii-string/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-ascii-string/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-int-0/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-int-0/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-int-1/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-int-1/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-int-123/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-int-123/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-object/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-object/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-real/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-real/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/string-escapes/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/string-escapes/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/three-byte-utf-8/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/three-byte-utf-8/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/true/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/true/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/two-byte-utf-8/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/two-byte-utf-8/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/utf-8-string/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/utf-8-string/output1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/utf-surrogate-four-byte-encoding/input1
-rw-r--r--fluent-bit/lib/jansson-e23f558/test/suites/valid/utf-surrogate-four-byte-encoding/output1
296 files changed, 0 insertions, 6236 deletions
diff --git a/fluent-bit/lib/jansson-e23f558/test/.gitignore b/fluent-bit/lib/jansson-e23f558/test/.gitignore
deleted file mode 100644
index 6a33dea39..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/.gitignore
+++ /dev/null
@@ -1,20 +0,0 @@
-logs
-bin/json_process
-suites/api/test_array
-suites/api/test_chaos
-suites/api/test_copy
-suites/api/test_cpp
-suites/api/test_dump
-suites/api/test_dump_callback
-suites/api/test_equal
-suites/api/test_load
-suites/api/test_load_callback
-suites/api/test_loadb
-suites/api/test_memory_funcs
-suites/api/test_number
-suites/api/test_object
-suites/api/test_pack
-suites/api/test_simple
-suites/api/test_sprintf
-suites/api/test_unpack
-suites/api/test_version
diff --git a/fluent-bit/lib/jansson-e23f558/test/Makefile.am b/fluent-bit/lib/jansson-e23f558/test/Makefile.am
deleted file mode 100644
index 344d18d7e..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/Makefile.am
+++ /dev/null
@@ -1,10 +0,0 @@
-SUBDIRS = bin suites ossfuzz
-EXTRA_DIST = scripts run-suites
-
-TESTS = run-suites
-TESTS_ENVIRONMENT = \
- top_srcdir=$(top_srcdir) \
- top_builddir=$(top_builddir)
-
-clean-local:
- rm -rf logs
diff --git a/fluent-bit/lib/jansson-e23f558/test/bin/Makefile.am b/fluent-bit/lib/jansson-e23f558/test/bin/Makefile.am
deleted file mode 100644
index 63b6dce7e..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/bin/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-check_PROGRAMS = json_process
-
-AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src
-LDFLAGS = -static # for speed and Valgrind
-LDADD = $(top_builddir)/src/libjansson.la
diff --git a/fluent-bit/lib/jansson-e23f558/test/bin/json_process.c b/fluent-bit/lib/jansson-e23f558/test/bin/json_process.c
deleted file mode 100644
index fc98543fc..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/bin/json_process.c
+++ /dev/null
@@ -1,366 +0,0 @@
-/*
- * Copyright (c) 2009-2016 Petri Lehtinen <petri@digip.org>
- *
- * Jansson is free software; you can redistribute it and/or modify
- * it under the terms of the MIT license. See LICENSE for details.
- */
-
-#ifdef HAVE_CONFIG_H
-#include <jansson_private_config.h>
-#endif
-
-#include <ctype.h>
-#include <jansson.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#ifdef HAVE_LOCALE_H
-#include <locale.h>
-#endif
-
-#if _WIN32
-#include <fcntl.h> /* for _O_BINARY */
-#include <io.h> /* for _setmode() */
-
-static const char dir_sep = '\\';
-#else
-static const char dir_sep = '/';
-#endif
-
-struct config {
- int indent;
- int compact;
- int preserve_order;
- int ensure_ascii;
- int sort_keys;
- int strip;
- int use_env;
- int have_hashseed;
- int hashseed;
- int precision;
-} conf;
-
-#define l_isspace(c) ((c) == ' ' || (c) == '\n' || (c) == '\r' || (c) == '\t')
-
-/* Return a pointer to the first non-whitespace character of str.
- Modifies str so that all trailing whitespace characters are
- replaced by '\0'. */
-static const char *strip(char *str) {
- size_t length;
- char *result = str;
- while (*result && l_isspace(*result))
- result++;
-
- length = strlen(result);
- if (length == 0)
- return result;
-
- while (l_isspace(result[length - 1]))
- result[--length] = '\0';
-
- return result;
-}
-
-static char *loadfile(FILE *file) {
- size_t fsize, ret;
- char *buf;
-
- fseek(file, 0, SEEK_END);
- fsize = ftell(file);
- fseek(file, 0, SEEK_SET);
-
- buf = malloc(fsize + 1);
- ret = fread(buf, 1, fsize, file);
- if (ret != fsize)
- exit(1);
- buf[fsize] = '\0';
-
- return buf;
-}
-
-static void read_conf(FILE *conffile) {
- char *buffer, *line, *val;
-
- buffer = loadfile(conffile);
- for (line = strtok(buffer, "\r\n"); line; line = strtok(NULL, "\r\n")) {
- if (!strncmp(line, "export ", 7))
- continue;
- val = strchr(line, '=');
- if (!val) {
- printf("invalid configuration line\n");
- break;
- }
- *val++ = '\0';
-
- if (!strcmp(line, "JSON_INDENT"))
- conf.indent = atoi(val);
- if (!strcmp(line, "JSON_COMPACT"))
- conf.compact = atoi(val);
- if (!strcmp(line, "JSON_ENSURE_ASCII"))
- conf.ensure_ascii = atoi(val);
- if (!strcmp(line, "JSON_PRESERVE_ORDER"))
- conf.preserve_order = atoi(val);
- if (!strcmp(line, "JSON_SORT_KEYS"))
- conf.sort_keys = atoi(val);
- if (!strcmp(line, "JSON_REAL_PRECISION"))
- conf.precision = atoi(val);
- if (!strcmp(line, "STRIP"))
- conf.strip = atoi(val);
- if (!strcmp(line, "HASHSEED")) {
- conf.have_hashseed = 1;
- conf.hashseed = atoi(val);
- } else {
- conf.have_hashseed = 0;
- }
- }
-
- free(buffer);
-}
-
-static int cmpfile(const char *str, const char *path, const char *fname) {
- char filename[1024], *buffer;
- int ret;
- FILE *file;
-
- sprintf(filename, "%s%c%s", path, dir_sep, fname);
- file = fopen(filename, "rb");
- if (!file) {
- if (conf.strip)
- strcat(filename, ".strip");
- else
- strcat(filename, ".normal");
- file = fopen(filename, "rb");
- }
- if (!file) {
- printf("Error: test result file could not be opened.\n");
- exit(1);
- }
-
- buffer = loadfile(file);
- if (strcmp(buffer, str) != 0)
- ret = 1;
- else
- ret = 0;
- free(buffer);
- fclose(file);
-
- return ret;
-}
-
-int use_conf(char *test_path) {
- int ret;
- size_t flags = 0;
- char filename[1024], errstr[1024];
- char *buffer;
- FILE *infile, *conffile;
- json_t *json;
- json_error_t error;
-
- sprintf(filename, "%s%cinput", test_path, dir_sep);
- if (!(infile = fopen(filename, "rb"))) {
- fprintf(stderr, "Could not open \"%s\"\n", filename);
- return 2;
- }
-
- sprintf(filename, "%s%cenv", test_path, dir_sep);
- conffile = fopen(filename, "rb");
- if (conffile) {
- read_conf(conffile);
- fclose(conffile);
- }
-
- if (conf.indent < 0 || conf.indent > 31) {
- fprintf(stderr, "invalid value for JSON_INDENT: %d\n", conf.indent);
- fclose(infile);
- return 2;
- }
- if (conf.indent)
- flags |= JSON_INDENT(conf.indent);
-
- if (conf.compact)
- flags |= JSON_COMPACT;
-
- if (conf.ensure_ascii)
- flags |= JSON_ENSURE_ASCII;
-
- if (conf.preserve_order)
- flags |= JSON_PRESERVE_ORDER;
-
- if (conf.sort_keys)
- flags |= JSON_SORT_KEYS;
-
- if (conf.precision < 0 || conf.precision > 31) {
- fprintf(stderr, "invalid value for JSON_REAL_PRECISION: %d\n", conf.precision);
- fclose(infile);
- return 2;
- }
- if (conf.precision)
- flags |= JSON_REAL_PRECISION(conf.precision);
-
- if (conf.have_hashseed)
- json_object_seed(conf.hashseed);
-
- if (conf.strip) {
- /* Load to memory, strip leading and trailing whitespace */
- buffer = loadfile(infile);
- json = json_loads(strip(buffer), 0, &error);
- free(buffer);
- } else
- json = json_loadf(infile, 0, &error);
-
- fclose(infile);
-
- if (!json) {
- sprintf(errstr, "%d %d %d\n%s\n", error.line, error.column, error.position,
- error.text);
-
- ret = cmpfile(errstr, test_path, "error");
- return ret;
- }
-
- buffer = json_dumps(json, flags);
- ret = cmpfile(buffer, test_path, "output");
- free(buffer);
- json_decref(json);
-
- return ret;
-}
-
-static int getenv_int(const char *name) {
- char *value, *end;
- long result;
-
- value = getenv(name);
- if (!value)
- return 0;
-
- result = strtol(value, &end, 10);
- if (*end != '\0')
- return 0;
-
- return (int)result;
-}
-
-int use_env() {
- int indent, precision;
- size_t flags = 0;
- json_t *json;
- json_error_t error;
-
-#ifdef _WIN32
- /* On Windows, set stdout and stderr to binary mode to avoid
- outputting DOS line terminators */
- _setmode(_fileno(stdout), _O_BINARY);
- _setmode(_fileno(stderr), _O_BINARY);
-#endif
-
- indent = getenv_int("JSON_INDENT");
- if (indent < 0 || indent > 31) {
- fprintf(stderr, "invalid value for JSON_INDENT: %d\n", indent);
- return 2;
- }
- if (indent > 0)
- flags |= JSON_INDENT(indent);
-
- if (getenv_int("JSON_COMPACT") > 0)
- flags |= JSON_COMPACT;
-
- if (getenv_int("JSON_ENSURE_ASCII"))
- flags |= JSON_ENSURE_ASCII;
-
- if (getenv_int("JSON_PRESERVE_ORDER"))
- flags |= JSON_PRESERVE_ORDER;
-
- if (getenv_int("JSON_SORT_KEYS"))
- flags |= JSON_SORT_KEYS;
-
- precision = getenv_int("JSON_REAL_PRECISION");
- if (precision < 0 || precision > 31) {
- fprintf(stderr, "invalid value for JSON_REAL_PRECISION: %d\n", precision);
- return 2;
- }
-
- if (getenv("HASHSEED"))
- json_object_seed(getenv_int("HASHSEED"));
-
- if (precision > 0)
- flags |= JSON_REAL_PRECISION(precision);
-
- if (getenv_int("STRIP")) {
- /* Load to memory, strip leading and trailing whitespace */
- size_t size = 0, used = 0;
- char *buffer = NULL, *buf_ck = NULL;
-
- while (1) {
- size_t count;
-
- size = (size == 0 ? 128 : size * 2);
- buf_ck = realloc(buffer, size);
- if (!buf_ck) {
- fprintf(stderr, "Unable to allocate %d bytes\n", (int)size);
- free(buffer);
- return 1;
- }
- buffer = buf_ck;
-
- count = fread(buffer + used, 1, size - used, stdin);
- if (count < size - used) {
- buffer[used + count] = '\0';
- break;
- }
- used += count;
- }
-
- json = json_loads(strip(buffer), 0, &error);
- free(buffer);
- } else
- json = json_loadf(stdin, 0, &error);
-
- if (!json) {
- fprintf(stderr, "%d %d %d\n%s\n", error.line, error.column, error.position,
- error.text);
- return 1;
- }
-
- json_dumpf(json, stdout, flags);
- json_decref(json);
-
- return 0;
-}
-
-int main(int argc, char *argv[]) {
- int i;
- char *test_path = NULL;
-
-#ifdef HAVE_SETLOCALE
- setlocale(LC_ALL, "");
-#endif
-
- if (argc < 2) {
- goto usage;
- }
-
- for (i = 1; i < argc; i++) {
- if (!strcmp(argv[i], "--strip"))
- conf.strip = 1;
- else if (!strcmp(argv[i], "--env"))
- conf.use_env = 1;
- else
- test_path = argv[i];
- }
-
- if (conf.use_env)
- return use_env();
- else {
- if (!test_path)
- goto usage;
-
- return use_conf(test_path);
- }
-
-usage:
- fprintf(stderr, "argc =%d\n", argc);
- fprintf(stderr, "usage: %s [--strip] [--env] test_dir\n", argv[0]);
- return 2;
-}
diff --git a/fluent-bit/lib/jansson-e23f558/test/ossfuzz/.gitignore b/fluent-bit/lib/jansson-e23f558/test/ossfuzz/.gitignore
deleted file mode 100644
index 7fbb8677b..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/ossfuzz/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-json_load_dump_fuzzer
diff --git a/fluent-bit/lib/jansson-e23f558/test/ossfuzz/Makefile.am b/fluent-bit/lib/jansson-e23f558/test/ossfuzz/Makefile.am
deleted file mode 100644
index a2e802e86..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/ossfuzz/Makefile.am
+++ /dev/null
@@ -1,32 +0,0 @@
-AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src
-LDADD = $(top_builddir)/src/libjansson.la
-
-if USE_OSSFUZZ_FLAG
-FUZZ_FLAG = $(LIB_FUZZING_ENGINE)
-else
-if USE_OSSFUZZ_STATIC
-LDADD += $(LIB_FUZZING_ENGINE)
-FUZZ_FLAG =
-else
-LDADD += libstandaloneengine.a
-FUZZ_FLAG =
-endif
-endif
-
-noinst_PROGRAMS =
-noinst_LIBRARIES =
-
-if USE_OSSFUZZERS
-noinst_PROGRAMS += \
- json_load_dump_fuzzer
-
-noinst_LIBRARIES += \
- libstandaloneengine.a
-endif
-
-json_load_dump_fuzzer_SOURCES = json_load_dump_fuzzer.cc testinput.h
-json_load_dump_fuzzer_CXXFLAGS = $(AM_CXXFLAGS) $(FUZZ_FLAG)
-json_load_dump_fuzzer_LDFLAGS = $(AM_LDFLAGS) -static
-
-libstandaloneengine_a_SOURCES = standaloneengine.cc
-libstandaloneengine_a_CXXFLAGS = $(AM_CXXFLAGS)
diff --git a/fluent-bit/lib/jansson-e23f558/test/ossfuzz/json_load_dump_fuzzer.cc b/fluent-bit/lib/jansson-e23f558/test/ossfuzz/json_load_dump_fuzzer.cc
deleted file mode 100644
index bc3844e75..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/ossfuzz/json_load_dump_fuzzer.cc
+++ /dev/null
@@ -1,132 +0,0 @@
-#include <stdint.h>
-#include <stdlib.h>
-#include <sys/types.h>
-#include <inttypes.h>
-
-#include "jansson.h"
-
-static int enable_diags;
-
-#define FUZZ_DEBUG(FMT, ...) \
- if (enable_diags) \
- { \
- fprintf(stderr, FMT, ##__VA_ARGS__); \
- fprintf(stderr, "\n"); \
- }
-
-
-static int json_dump_counter(const char *buffer, size_t size, void *data)
-{
- uint64_t *counter = reinterpret_cast<uint64_t *>(data);
- *counter += size;
- return 0;
-}
-
-
-#define NUM_COMMAND_BYTES (sizeof(size_t) + sizeof(size_t) + 1)
-
-#define FUZZ_DUMP_CALLBACK 0x00
-#define FUZZ_DUMP_STRING 0x01
-
-extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
-{
- json_error_t error;
- unsigned char dump_mode;
-
- // Enable or disable diagnostics based on the FUZZ_VERBOSE environment flag.
- enable_diags = (getenv("FUZZ_VERBOSE") != NULL);
-
- FUZZ_DEBUG("Input data length: %zd", size);
-
- if (size < NUM_COMMAND_BYTES)
- {
- return 0;
- }
-
- // Use the first sizeof(size_t) bytes as load flags.
- size_t load_flags = *(const size_t*)data;
- data += sizeof(size_t);
-
- FUZZ_DEBUG("load_flags: 0x%zx\n"
- "& JSON_REJECT_DUPLICATES = 0x%zx\n"
- "& JSON_DECODE_ANY = 0x%zx\n"
- "& JSON_DISABLE_EOF_CHECK = 0x%zx\n"
- "& JSON_DECODE_INT_AS_REAL = 0x%zx\n"
- "& JSON_ALLOW_NUL = 0x%zx\n",
- load_flags,
- load_flags & JSON_REJECT_DUPLICATES,
- load_flags & JSON_DECODE_ANY,
- load_flags & JSON_DISABLE_EOF_CHECK,
- load_flags & JSON_DECODE_INT_AS_REAL,
- load_flags & JSON_ALLOW_NUL);
-
- // Use the next sizeof(size_t) bytes as dump flags.
- size_t dump_flags = *(const size_t*)data;
- data += sizeof(size_t);
-
- FUZZ_DEBUG("dump_flags: 0x%zx\n"
- "& JSON_MAX_INDENT = 0x%zx\n"
- "& JSON_COMPACT = 0x%zx\n"
- "& JSON_ENSURE_ASCII = 0x%zx\n"
- "& JSON_SORT_KEYS = 0x%zx\n"
- "& JSON_PRESERVE_ORDER = 0x%zx\n"
- "& JSON_ENCODE_ANY = 0x%zx\n"
- "& JSON_ESCAPE_SLASH = 0x%zx\n"
- "& JSON_REAL_PRECISION = 0x%zx\n"
- "& JSON_EMBED = 0x%zx\n",
- dump_flags,
- dump_flags & JSON_MAX_INDENT,
- dump_flags & JSON_COMPACT,
- dump_flags & JSON_ENSURE_ASCII,
- dump_flags & JSON_SORT_KEYS,
- dump_flags & JSON_PRESERVE_ORDER,
- dump_flags & JSON_ENCODE_ANY,
- dump_flags & JSON_ESCAPE_SLASH,
- ((dump_flags >> 11) & 0x1F) << 11,
- dump_flags & JSON_EMBED);
-
- // Use the next byte as the dump mode.
- dump_mode = data[0];
- data++;
-
- FUZZ_DEBUG("dump_mode: 0x%x", (unsigned int)dump_mode);
-
- // Remove the command bytes from the size total.
- size -= NUM_COMMAND_BYTES;
-
- // Attempt to load the remainder of the data with the given load flags.
- const char* text = reinterpret_cast<const char *>(data);
- json_t* jobj = json_loadb(text, size, load_flags, &error);
-
- if (jobj == NULL)
- {
- return 0;
- }
-
- if (dump_mode & FUZZ_DUMP_STRING)
- {
- // Dump as a string. Remove indents so that we don't run out of memory.
- char *out = json_dumps(jobj, dump_flags & ~JSON_MAX_INDENT);
- if (out != NULL)
- {
- free(out);
- }
- }
- else
- {
- // Default is callback mode.
- //
- // Attempt to dump the loaded json object with the given dump flags.
- uint64_t counter = 0;
-
- json_dump_callback(jobj, json_dump_counter, &counter, dump_flags);
- FUZZ_DEBUG("Counter function counted %" PRIu64 " bytes.", counter);
- }
-
- if (jobj)
- {
- json_decref(jobj);
- }
-
- return 0;
-}
diff --git a/fluent-bit/lib/jansson-e23f558/test/ossfuzz/ossfuzz.sh b/fluent-bit/lib/jansson-e23f558/test/ossfuzz/ossfuzz.sh
deleted file mode 100755
index 59740c253..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/ossfuzz/ossfuzz.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/bash -eu
-
-# This script is called by the oss-fuzz main project when compiling the fuzz
-# targets. This script is regression tested by travisoss.sh.
-
-# Save off the current folder as the build root.
-export BUILD_ROOT=$PWD
-
-echo "CC: $CC"
-echo "CXX: $CXX"
-echo "LIB_FUZZING_ENGINE: $LIB_FUZZING_ENGINE"
-echo "CFLAGS: $CFLAGS"
-echo "CXXFLAGS: $CXXFLAGS"
-echo "OUT: $OUT"
-
-export MAKEFLAGS+="-j$(nproc)"
-
-# Install dependencies
-apt-get -y install automake libtool
-
-# Compile the fuzzer.
-autoreconf -i
-./configure --enable-ossfuzzers
-make
-
-# Copy the fuzzer to the output directory.
-cp -v test/ossfuzz/json_load_dump_fuzzer $OUT/
-
-# Zip up all input files to use as a test corpus
-find test/suites -name "input" -print | zip $OUT/json_load_dump_fuzzer_seed_corpus.zip -@
diff --git a/fluent-bit/lib/jansson-e23f558/test/ossfuzz/standaloneengine.cc b/fluent-bit/lib/jansson-e23f558/test/ossfuzz/standaloneengine.cc
deleted file mode 100644
index 175360e4a..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/ossfuzz/standaloneengine.cc
+++ /dev/null
@@ -1,74 +0,0 @@
-#include <stdint.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#include "testinput.h"
-
-/**
- * Main procedure for standalone fuzzing engine.
- *
- * Reads filenames from the argument array. For each filename, read the file
- * into memory and then call the fuzzing interface with the data.
- */
-int main(int argc, char **argv)
-{
- int ii;
- for(ii = 1; ii < argc; ii++)
- {
- FILE *infile;
- printf("[%s] ", argv[ii]);
-
- /* Try and open the file. */
- infile = fopen(argv[ii], "rb");
- if(infile)
- {
- uint8_t *buffer = NULL;
- size_t buffer_len;
-
- printf("Opened.. ");
-
- /* Get the length of the file. */
- fseek(infile, 0L, SEEK_END);
- buffer_len = ftell(infile);
-
- /* Reset the file indicator to the beginning of the file. */
- fseek(infile, 0L, SEEK_SET);
-
- /* Allocate a buffer for the file contents. */
- buffer = (uint8_t *)calloc(buffer_len, sizeof(uint8_t));
- if(buffer)
- {
- /* Read all the text from the file into the buffer. */
- fread(buffer, sizeof(uint8_t), buffer_len, infile);
- printf("Read %zu bytes, fuzzing.. ", buffer_len);
-
- /* Call the fuzzer with the data. */
- LLVMFuzzerTestOneInput(buffer, buffer_len);
-
- printf("complete !!");
-
- /* Free the buffer as it's no longer needed. */
- free(buffer);
- buffer = NULL;
- }
- else
- {
- fprintf(stderr,
- "[%s] Failed to allocate %zu bytes \n",
- argv[ii],
- buffer_len);
- }
-
- /* Close the file as it's no longer needed. */
- fclose(infile);
- infile = NULL;
- }
- else
- {
- /* Failed to open the file. Maybe wrong name or wrong permissions? */
- fprintf(stderr, "[%s] Open failed. \n", argv[ii]);
- }
-
- printf("\n");
- }
-}
diff --git a/fluent-bit/lib/jansson-e23f558/test/ossfuzz/testinput.h b/fluent-bit/lib/jansson-e23f558/test/ossfuzz/testinput.h
deleted file mode 100644
index 6ab9b515e..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/ossfuzz/testinput.h
+++ /dev/null
@@ -1,3 +0,0 @@
-#include <inttypes.h>
-
-extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);
diff --git a/fluent-bit/lib/jansson-e23f558/test/ossfuzz/travisoss.sh b/fluent-bit/lib/jansson-e23f558/test/ossfuzz/travisoss.sh
deleted file mode 100755
index ddcfa075a..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/ossfuzz/travisoss.sh
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/bash
-
-set -ex
-
-PROJECT_NAME=jansson
-
-# Clone the oss-fuzz repository
-git clone https://github.com/google/oss-fuzz.git /tmp/ossfuzz
-
-if [[ ! -d /tmp/ossfuzz/projects/${PROJECT_NAME} ]]
-then
- echo "Could not find the ${PROJECT_NAME} project in ossfuzz"
-
- # Exit with a success code while the jansson project is not expected to exist
- # on oss-fuzz.
- exit 0
-fi
-
-# Work out which repo to clone from, inside Docker
-if [[ ${TRAVIS_PULL_REQUEST} != "false" ]]
-then
- # Pull-request branch
- REPO=${TRAVIS_PULL_REQUEST_SLUG}
- BRANCH=${TRAVIS_PULL_REQUEST_BRANCH}
-else
- # Push build.
- REPO=${TRAVIS_REPO_SLUG}
- BRANCH=${TRAVIS_BRANCH}
-fi
-
-# Modify the oss-fuzz Dockerfile so that we're checking out the current branch on travis.
-sed -i "s@https://github.com/akheron/jansson.git@-b ${BRANCH} https://github.com/${REPO}.git@" /tmp/ossfuzz/projects/${PROJECT_NAME}/Dockerfile
-
-# Try and build the fuzzers
-pushd /tmp/ossfuzz
-python infra/helper.py build_image --pull ${PROJECT_NAME}
-python infra/helper.py build_fuzzers ${PROJECT_NAME}
-popd
diff --git a/fluent-bit/lib/jansson-e23f558/test/run-suites b/fluent-bit/lib/jansson-e23f558/test/run-suites
deleted file mode 100755
index fd1b89b5a..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/run-suites
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/sh
-
-while [ -n "$1" ]; do
- suite=$1
- if [ -x $top_srcdir/test/suites/$suite/run ]; then
- SUITES="$SUITES $suite"
- else
- echo "No such suite: $suite"
- exit 1
- fi
- shift
-done
-
-if [ -z "$SUITES" ]; then
- suitedirs=$top_srcdir/test/suites/*
- for suitedir in $suitedirs; do
- if [ -d $suitedir ]; then
- SUITES="$SUITES `basename $suitedir`"
- fi
- done
-fi
-
-[ -z "$STOP" ] && STOP=0
-
-suites_srcdir=$top_srcdir/test/suites
-suites_builddir=suites
-scriptdir=$top_srcdir/test/scripts
-logdir=logs
-bindir=bin
-export suites_srcdir suites_builddir scriptdir logdir bindir
-
-passed=0
-failed=0
-for suite in $SUITES; do
- echo "Suite: $suite"
- if $suites_srcdir/$suite/run $suite; then
- passed=`expr $passed + 1`
- else
- failed=`expr $failed + 1`
- [ $STOP -eq 1 ] && break
- fi
-done
-
-if [ $failed -gt 0 ]; then
- echo "$failed of `expr $passed + $failed` test suites failed"
- exit 1
-else
- echo "$passed test suites passed"
- rm -rf $logdir
-fi
diff --git a/fluent-bit/lib/jansson-e23f558/test/scripts/run-tests.sh b/fluent-bit/lib/jansson-e23f558/test/scripts/run-tests.sh
deleted file mode 100644
index f980a7657..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/scripts/run-tests.sh
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright (c) 2009-2016 Petri Lehtinen <petri@digip.org>
-#
-# Jansson is free software; you can redistribute it and/or modify
-# it under the terms of the MIT license. See LICENSE for details.
-
-die() {
- echo "$1" >&2
- exit 1
-}
-
-[ -n "$1" ] || die "Usage: $0 suite-name"
-[ -n "$bindir" ] || die "Set bindir"
-[ -n "$logdir" ] || die "Set logdir"
-[ -n "$scriptdir" ] || die "Set scriptdir"
-[ -n "$suites_srcdir" ] || die "Set suites_srcdir"
-[ -n "$suites_builddir" ] || die "Set suites_builddir"
-
-json_process=$bindir/json_process
-
-suite_name=$1
-suite_srcdir=$suites_srcdir/$suite_name
-suite_builddir=$suites_builddir/$suite_name
-suite_log=$logdir/$suite_name
-
-[ -z "$VERBOSE" ] && VERBOSE=0
-[ -z "$STOP" ] && STOP=0
-
-. $scriptdir/valgrind.sh
-
-rm -rf $suite_log
-mkdir -p $suite_log
-
-for test_path in $suite_srcdir/*; do
- test_name=$(basename $test_path)
- test_builddir=$suite_builddir/$test_name
- test_log=$suite_log/$test_name
-
- [ "$test_name" = "run" ] && continue
- is_test || continue
-
- rm -rf $test_log
- mkdir -p $test_log
- if [ $VERBOSE -eq 1 ]; then
- printf '%s... ' "$test_name"
- fi
-
- run_test
- case $? in
- 0)
- # Success
- if [ $VERBOSE -eq 1 ]; then
- printf 'ok\n'
- else
- printf '.'
- fi
- rm -rf $test_log
- ;;
-
- 77)
- # Skip
- if [ $VERBOSE -eq 1 ]; then
- printf 'skipped\n'
- else
- printf 'S'
- fi
- rm -rf $test_log
- ;;
-
- *)
- # Failure
- if [ $VERBOSE -eq 1 ]; then
- printf 'FAILED\n'
- else
- printf 'F'
- fi
-
- [ $STOP -eq 1 ] && break
- ;;
- esac
-done
-
-if [ $VERBOSE -eq 0 ]; then
- printf '\n'
-fi
-
-if [ -n "$(ls -A $suite_log)" ]; then
- for test_log in $suite_log/*; do
- test_name=$(basename $test_log)
- test_path=$suite_srcdir/$test_name
- echo "================================================================="
- echo "$suite_name/$test_name"
- echo "================================================================="
- show_error
- echo
- done
- echo "================================================================="
- exit 1
-else
- rm -rf $suite_log
-fi
diff --git a/fluent-bit/lib/jansson-e23f558/test/scripts/valgrind.sh b/fluent-bit/lib/jansson-e23f558/test/scripts/valgrind.sh
deleted file mode 100644
index afbdcee15..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/scripts/valgrind.sh
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright (c) 2009-2016 Petri Lehtinen <petri@digip.org>
-#
-# Jansson is free software; you can redistribute it and/or modify
-# it under the terms of the MIT license. See LICENSE for details.
-
-[ -z "$VALGRIND" ] && VALGRIND=0
-
-VALGRIND_CMDLINE="valgrind --leak-check=full --show-reachable=yes --track-origins=yes -q"
-
-if [ $VALGRIND -eq 1 ]; then
- test_runner="$VALGRIND_CMDLINE"
- json_process="$VALGRIND_CMDLINE $json_process"
-else
- test_runner=""
-fi
-
-valgrind_check() {
- if [ $VALGRIND -eq 1 ]; then
- # Check for Valgrind error output. The valgrind option
- # --error-exitcode is not enough because Valgrind doesn't
- # think unfreed allocs are errors.
- if grep -E -q '^==[0-9]+== ' $1; then
- touch $test_log/valgrind_error
- return 1
- fi
- fi
-}
-
-valgrind_show_error() {
- if [ $VALGRIND -eq 1 -a -f $test_log/valgrind_error ]; then
- echo "valgrind detected an error"
- return 0
- fi
- return 1
-}
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/.gitattributes b/fluent-bit/lib/jansson-e23f558/test/suites/.gitattributes
deleted file mode 100644
index 68d88612c..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/.gitattributes
+++ /dev/null
@@ -1,2 +0,0 @@
-api/ text=auto
-* text eol=lf \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/Makefile.am b/fluent-bit/lib/jansson-e23f558/test/suites/Makefile.am
deleted file mode 100644
index a53eb07f1..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/Makefile.am
+++ /dev/null
@@ -1,2 +0,0 @@
-SUBDIRS = api
-EXTRA_DIST = invalid invalid-unicode valid
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/api/Makefile.am b/fluent-bit/lib/jansson-e23f558/test/suites/api/Makefile.am
deleted file mode 100644
index 2bc638b82..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/api/Makefile.am
+++ /dev/null
@@ -1,42 +0,0 @@
-EXTRA_DIST = run check-exports
-
-check_PROGRAMS = \
- test_array \
- test_chaos \
- test_copy \
- test_dump \
- test_dump_callback \
- test_equal \
- test_fixed_size \
- test_load \
- test_load_callback \
- test_loadb \
- test_memory_funcs \
- test_number \
- test_object \
- test_pack \
- test_simple \
- test_sprintf \
- test_unpack \
- test_version
-
-test_array_SOURCES = test_array.c util.h
-test_chaos_SOURCES = test_chaos.c util.h
-test_copy_SOURCES = test_copy.c util.h
-test_dump_SOURCES = test_dump.c util.h
-test_dump_callback_SOURCES = test_dump_callback.c util.h
-test_fixed_size_SOURCES = test_fixed_size.c util.h
-test_load_SOURCES = test_load.c util.h
-test_loadb_SOURCES = test_loadb.c util.h
-test_memory_funcs_SOURCES = test_memory_funcs.c util.h
-test_number_SOURCES = test_number.c util.h
-test_object_SOURCES = test_object.c util.h
-test_pack_SOURCES = test_pack.c util.h
-test_simple_SOURCES = test_simple.c util.h
-test_sprintf_SOURCES = test_sprintf.c util.h
-test_unpack_SOURCES = test_unpack.c util.h
-test_version_SOURCES = test_version.c util.h
-
-AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src
-LDFLAGS = -static # for speed and Valgrind
-LDADD = $(top_builddir)/src/libjansson.la
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/api/check-exports b/fluent-bit/lib/jansson-e23f558/test/suites/api/check-exports
deleted file mode 100755
index 5c82064c1..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/api/check-exports
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-#
-# This test checks that libjansson.so exports the correct symbols.
-#
-
-SOFILE="../src/.libs/libjansson.so"
-
-# The list of symbols, which the shared object should export, is read
-# from the def file, which is used in Windows builds
-grep 'json_\|jansson_' $top_srcdir/src/jansson.def \
- | sed -e 's/ //g' \
- | sort \
- >$test_log/exports
-
-nm -D $SOFILE >/dev/null >$test_log/symbols 2>/dev/null \
- || exit 77 # Skip if "nm -D" doesn't seem to work
-
-grep ' [DT] ' $test_log/symbols | cut -d' ' -f3 | grep -v '^_' | sed 's/@@libjansson.*//' | sort >$test_log/output
-
-if ! cmp -s $test_log/exports $test_log/output; then
- diff -u $test_log/exports $test_log/output >&2
- exit 1
-fi
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/api/run b/fluent-bit/lib/jansson-e23f558/test/suites/api/run
deleted file mode 100755
index 0c017bca6..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/api/run
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/sh
-#
-# Copyright (c) 2009-2016 Petri Lehtinen <petri@digip.org>
-#
-# Jansson is free software; you can redistribute it and/or modify
-# it under the terms of the MIT license. See LICENSE for details.
-
-is_test() {
- case "$test_name" in
- *.c|check-exports)
- return 0
- ;;
- *)
- return 1
- ;;
- esac
-}
-
-run_test() {
- if [ "$test_name" = "check-exports" ]; then
- test_log=$test_log $test_path >$test_log/stdout 2>$test_log/stderr
- else
- $test_runner $suite_builddir/${test_name%.c} \
- >$test_log/stdout \
- 2>$test_log/stderr \
- || return 1
- valgrind_check $test_log/stderr || return 1
- fi
-}
-
-show_error() {
- valgrind_show_error && return
- cat $test_log/stderr
-}
-
-. $top_srcdir/test/scripts/run-tests.sh
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_array.c b/fluent-bit/lib/jansson-e23f558/test/suites/api/test_array.c
deleted file mode 100644
index e5d9d1a19..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_array.c
+++ /dev/null
@@ -1,484 +0,0 @@
-/*
- * Copyright (c) 2009-2016 Petri Lehtinen <petri@digip.org>
- *
- * Jansson is free software; you can redistribute it and/or modify
- * it under the terms of the MIT license. See LICENSE for details.
- */
-
-#include "util.h"
-#include <jansson.h>
-
-static void test_misc(void) {
- json_t *array, *five, *seven, *value;
- size_t i;
-
- array = json_array();
- five = json_integer(5);
- seven = json_integer(7);
-
- if (!array)
- fail("unable to create array");
- if (!five || !seven)
- fail("unable to create integer");
-
- if (json_array_size(array) != 0)
- fail("empty array has nonzero size");
-
- if (!json_array_append(array, NULL))
- fail("able to append NULL");
-
- if (json_array_append(array, five))
- fail("unable to append");
-
- if (json_array_size(array) != 1)
- fail("wrong array size");
-
- value = json_array_get(array, 0);
- if (!value)
- fail("unable to get item");
- if (value != five)
- fail("got wrong value");
-
- if (json_array_append(array, seven))
- fail("unable to append value");
-
- if (json_array_size(array) != 2)
- fail("wrong array size");
-
- value = json_array_get(array, 1);
- if (!value)
- fail("unable to get item");
- if (value != seven)
- fail("got wrong value");
-
- if (json_array_set(array, 0, seven))
- fail("unable to set value");
-
- if (!json_array_set(array, 0, NULL))
- fail("able to set NULL");
-
- if (json_array_size(array) != 2)
- fail("wrong array size");
-
- value = json_array_get(array, 0);
- if (!value)
- fail("unable to get item");
- if (value != seven)
- fail("got wrong value");
-
- if (json_array_get(array, 2) != NULL)
- fail("able to get value out of bounds");
-
- if (!json_array_set(array, 2, seven))
- fail("able to set value out of bounds");
-
- for (i = 2; i < 30; i++) {
- if (json_array_append(array, seven))
- fail("unable to append value");
-
- if (json_array_size(array) != i + 1)
- fail("wrong array size");
- }
-
- for (i = 0; i < 30; i++) {
- value = json_array_get(array, i);
- if (!value)
- fail("unable to get item");
- if (value != seven)
- fail("got wrong value");
- }
-
- if (json_array_set_new(array, 15, json_integer(123)))
- fail("unable to set new value");
-
- value = json_array_get(array, 15);
- if (!json_is_integer(value) || json_integer_value(value) != 123)
- fail("json_array_set_new works incorrectly");
-
- if (!json_array_set_new(array, 15, NULL))
- fail("able to set_new NULL value");
-
- if (json_array_append_new(array, json_integer(321)))
- fail("unable to append new value");
-
- value = json_array_get(array, json_array_size(array) - 1);
- if (!json_is_integer(value) || json_integer_value(value) != 321)
- fail("json_array_append_new works incorrectly");
-
- if (!json_array_append_new(array, NULL))
- fail("able to append_new NULL value");
-
- json_decref(five);
- json_decref(seven);
- json_decref(array);
-}
-
-static void test_insert(void) {
- json_t *array, *five, *seven, *eleven, *value;
- int i;
-
- array = json_array();
- five = json_integer(5);
- seven = json_integer(7);
- eleven = json_integer(11);
-
- if (!array)
- fail("unable to create array");
- if (!five || !seven || !eleven)
- fail("unable to create integer");
-
- if (!json_array_insert(array, 1, five))
- fail("able to insert value out of bounds");
-
- if (json_array_insert(array, 0, five))
- fail("unable to insert value in an empty array");
-
- if (json_array_get(array, 0) != five)
- fail("json_array_insert works incorrectly");
-
- if (json_array_size(array) != 1)
- fail("array size is invalid after insertion");
-
- if (json_array_insert(array, 1, seven))
- fail("unable to insert value at the end of an array");
-
- if (json_array_get(array, 0) != five)
- fail("json_array_insert works incorrectly");
-
- if (json_array_get(array, 1) != seven)
- fail("json_array_insert works incorrectly");
-
- if (json_array_size(array) != 2)
- fail("array size is invalid after insertion");
-
- if (json_array_insert(array, 1, eleven))
- fail("unable to insert value in the middle of an array");
-
- if (json_array_get(array, 0) != five)
- fail("json_array_insert works incorrectly");
-
- if (json_array_get(array, 1) != eleven)
- fail("json_array_insert works incorrectly");
-
- if (json_array_get(array, 2) != seven)
- fail("json_array_insert works incorrectly");
-
- if (json_array_size(array) != 3)
- fail("array size is invalid after insertion");
-
- if (json_array_insert_new(array, 2, json_integer(123)))
- fail("unable to insert value in the middle of an array");
-
- value = json_array_get(array, 2);
- if (!json_is_integer(value) || json_integer_value(value) != 123)
- fail("json_array_insert_new works incorrectly");
-
- if (json_array_size(array) != 4)
- fail("array size is invalid after insertion");
-
- for (i = 0; i < 20; i++) {
- if (json_array_insert(array, 0, seven))
- fail("unable to insert value at the beginning of an array");
- }
-
- for (i = 0; i < 20; i++) {
- if (json_array_get(array, i) != seven)
- fail("json_aray_insert works incorrectly");
- }
-
- if (json_array_size(array) != 24)
- fail("array size is invalid after loop insertion");
-
- json_decref(five);
- json_decref(seven);
- json_decref(eleven);
- json_decref(array);
-}
-
-static void test_remove(void) {
- json_t *array, *five, *seven;
- int i;
-
- array = json_array();
- five = json_integer(5);
- seven = json_integer(7);
-
- if (!array)
- fail("unable to create array");
- if (!five)
- fail("unable to create integer");
- if (!seven)
- fail("unable to create integer");
-
- if (!json_array_remove(array, 0))
- fail("able to remove an unexisting index");
-
- if (json_array_append(array, five))
- fail("unable to append");
-
- if (!json_array_remove(array, 1))
- fail("able to remove an unexisting index");
-
- if (json_array_remove(array, 0))
- fail("unable to remove");
-
- if (json_array_size(array) != 0)
- fail("array size is invalid after removing");
-
- if (json_array_append(array, five) || json_array_append(array, seven) ||
- json_array_append(array, five) || json_array_append(array, seven))
- fail("unable to append");
-
- if (json_array_remove(array, 2))
- fail("unable to remove");
-
- if (json_array_size(array) != 3)
- fail("array size is invalid after removing");
-
- if (json_array_get(array, 0) != five || json_array_get(array, 1) != seven ||
- json_array_get(array, 2) != seven)
- fail("remove works incorrectly");
-
- json_decref(array);
-
- array = json_array();
- for (i = 0; i < 4; i++) {
- json_array_append(array, five);
- json_array_append(array, seven);
- }
- if (json_array_size(array) != 8)
- fail("unable to append 8 items to array");
-
- /* Remove an element from a "full" array. */
- json_array_remove(array, 5);
-
- json_decref(five);
- json_decref(seven);
- json_decref(array);
-}
-
-static void test_clear(void) {
- json_t *array, *five, *seven;
- int i;
-
- array = json_array();
- five = json_integer(5);
- seven = json_integer(7);
-
- if (!array)
- fail("unable to create array");
- if (!five || !seven)
- fail("unable to create integer");
-
- for (i = 0; i < 10; i++) {
- if (json_array_append(array, five))
- fail("unable to append");
- }
- for (i = 0; i < 10; i++) {
- if (json_array_append(array, seven))
- fail("unable to append");
- }
-
- if (json_array_size(array) != 20)
- fail("array size is invalid after appending");
-
- if (json_array_clear(array))
- fail("unable to clear");
-
- if (json_array_size(array) != 0)
- fail("array size is invalid after clearing");
-
- json_decref(five);
- json_decref(seven);
- json_decref(array);
-}
-
-static void test_extend(void) {
- json_t *array1, *array2, *five, *seven;
- int i;
-
- array1 = json_array();
- array2 = json_array();
- five = json_integer(5);
- seven = json_integer(7);
-
- if (!array1 || !array2)
- fail("unable to create array");
- if (!five || !seven)
- fail("unable to create integer");
-
- for (i = 0; i < 10; i++) {
- if (json_array_append(array1, five))
- fail("unable to append");
- }
- for (i = 0; i < 10; i++) {
- if (json_array_append(array2, seven))
- fail("unable to append");
- }
-
- if (json_array_size(array1) != 10 || json_array_size(array2) != 10)
- fail("array size is invalid after appending");
-
- if (json_array_extend(array1, array2))
- fail("unable to extend");
-
- for (i = 0; i < 10; i++) {
- if (json_array_get(array1, i) != five)
- fail("invalid array contents after extending");
- }
- for (i = 10; i < 20; i++) {
- if (json_array_get(array1, i) != seven)
- fail("invalid array contents after extending");
- }
-
- json_decref(five);
- json_decref(seven);
- json_decref(array1);
- json_decref(array2);
-}
-
-static void test_circular() {
- json_t *array1, *array2;
-
- /* the simple cases are checked */
-
- array1 = json_array();
- if (!array1)
- fail("unable to create array");
-
- if (json_array_append(array1, array1) == 0)
- fail("able to append self");
-
- if (json_array_insert(array1, 0, array1) == 0)
- fail("able to insert self");
-
- if (json_array_append_new(array1, json_true()))
- fail("failed to append true");
-
- if (json_array_set(array1, 0, array1) == 0)
- fail("able to set self");
-
- json_decref(array1);
-
- /* create circular references */
-
- array1 = json_array();
- array2 = json_array();
- if (!array1 || !array2)
- fail("unable to create array");
-
- if (json_array_append(array1, array2) || json_array_append(array2, array1))
- fail("unable to append");
-
- /* circularity is detected when dumping */
- if (json_dumps(array1, 0) != NULL)
- fail("able to dump circulars");
-
- /* decref twice to deal with the circular references */
- json_decref(array1);
- json_decref(array2);
- json_decref(array1);
-}
-
-static void test_array_foreach() {
- size_t index;
- json_t *array1, *array2, *value;
-
- array1 = json_pack("[sisisi]", "foo", 1, "bar", 2, "baz", 3);
- array2 = json_array();
-
- json_array_foreach(array1, index, value) { json_array_append(array2, value); }
-
- if (!json_equal(array1, array2))
- fail("json_array_foreach failed to iterate all elements");
-
- json_decref(array1);
- json_decref(array2);
-}
-
-static void test_bad_args(void) {
- json_t *arr = json_array();
- json_t *num = json_integer(1);
-
- if (!arr || !num)
- fail("failed to create required objects");
-
- if (json_array_size(NULL) != 0)
- fail("NULL array has nonzero size");
- if (json_array_size(num) != 0)
- fail("non-array has nonzero array size");
-
- if (json_array_get(NULL, 0))
- fail("json_array_get did not return NULL for non-array");
- if (json_array_get(num, 0))
- fail("json_array_get did not return NULL for non-array");
-
- if (!json_array_set_new(NULL, 0, json_incref(num)))
- fail("json_array_set_new did not return error for non-array");
- if (!json_array_set_new(num, 0, json_incref(num)))
- fail("json_array_set_new did not return error for non-array");
- if (!json_array_set_new(arr, 0, NULL))
- fail("json_array_set_new did not return error for NULL value");
- if (!json_array_set_new(arr, 0, json_incref(arr)))
- fail("json_array_set_new did not return error for value == array");
-
- if (!json_array_remove(NULL, 0))
- fail("json_array_remove did not return error for non-array");
- if (!json_array_remove(num, 0))
- fail("json_array_remove did not return error for non-array");
-
- if (!json_array_clear(NULL))
- fail("json_array_clear did not return error for non-array");
- if (!json_array_clear(num))
- fail("json_array_clear did not return error for non-array");
-
- if (!json_array_append_new(NULL, json_incref(num)))
- fail("json_array_append_new did not return error for non-array");
- if (!json_array_append_new(num, json_incref(num)))
- fail("json_array_append_new did not return error for non-array");
- if (!json_array_append_new(arr, NULL))
- fail("json_array_append_new did not return error for NULL value");
- if (!json_array_append_new(arr, json_incref(arr)))
- fail("json_array_append_new did not return error for value == array");
-
- if (!json_array_insert_new(NULL, 0, json_incref(num)))
- fail("json_array_insert_new did not return error for non-array");
- if (!json_array_insert_new(num, 0, json_incref(num)))
- fail("json_array_insert_new did not return error for non-array");
- if (!json_array_insert_new(arr, 0, NULL))
- fail("json_array_insert_new did not return error for NULL value");
- if (!json_array_insert_new(arr, 0, json_incref(arr)))
- fail("json_array_insert_new did not return error for value == array");
-
- if (!json_array_extend(NULL, arr))
- fail("json_array_extend did not return error for first argument "
- "non-array");
- if (!json_array_extend(num, arr))
- fail("json_array_extend did not return error for first argument "
- "non-array");
- if (!json_array_extend(arr, NULL))
- fail("json_array_extend did not return error for second argument "
- "non-array");
- if (!json_array_extend(arr, num))
- fail("json_array_extend did not return error for second argument "
- "non-array");
-
- if (num->refcount != 1)
- fail("unexpected reference count on num");
- if (arr->refcount != 1)
- fail("unexpected reference count on arr");
-
- json_decref(num);
- json_decref(arr);
-}
-
-static void run_tests() {
- test_misc();
- test_insert();
- test_remove();
- test_clear();
- test_extend();
- test_circular();
- test_array_foreach();
- test_bad_args();
-}
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_chaos.c b/fluent-bit/lib/jansson-e23f558/test/suites/api/test_chaos.c
deleted file mode 100644
index 8687243ed..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_chaos.c
+++ /dev/null
@@ -1,168 +0,0 @@
-#ifndef _GNU_SOURCE
-#define _GNU_SOURCE
-#endif
-
-#include "util.h"
-#include <jansson.h>
-#include <stdio.h>
-#include <string.h>
-
-static int chaos_pos = 0;
-static int chaos_fail = 0;
-#define CHAOS_MAX_FAILURE 100
-
-void *chaos_malloc(size_t size) {
- if (chaos_pos == chaos_fail)
- return NULL;
-
- chaos_pos++;
-
- return malloc(size);
-}
-
-void chaos_free(void *obj) { free(obj); }
-
-/* Test all potential allocation failures. */
-#define chaos_loop(condition, code, cleanup) \
- { \
- chaos_pos = chaos_fail = 0; \
- while (condition) { \
- if (chaos_fail > CHAOS_MAX_FAILURE) \
- fail("too many chaos failures"); \
- code chaos_pos = 0; \
- chaos_fail++; \
- } \
- cleanup \
- }
-
-#define chaos_loop_new_value(json, initcall) \
- chaos_loop(!json, json = initcall;, json_decref(json); json = NULL;)
-
-int test_unpack() {
- int ret = -1;
- int v1;
- int v2;
- json_error_t error;
- json_t *root = json_pack("{s:i, s:i, s:i, s:i}", "n1", 1, "n2", 2, "n3", 3, "n4", 4);
-
- if (!root)
- return -1;
-
- if (!json_unpack_ex(root, &error, JSON_STRICT, "{s:i, s:i}", "n1", &v1, "n2", &v2))
- fail("Unexpected success");
-
- if (json_error_code(&error) != json_error_end_of_input_expected) {
- if (json_error_code(&error) != json_error_out_of_memory)
- fail("Unexpected error code");
-
- goto out;
- }
-
- if (strcmp(error.text, "2 object item(s) left unpacked: n3, n4"))
- goto out;
-
- ret = 0;
-
-out:
- json_decref(root);
- return ret;
-}
-
-int dump_chaos_callback(const char *buffer, size_t size, void *data) {
- json_t *obj = json_object();
-
- (void)buffer;
- (void)size;
- (void)data;
-
- if (!obj)
- return -1;
-
- json_decref(obj);
-
- return 0;
-}
-
-static void test_chaos() {
- json_malloc_t orig_malloc;
- json_free_t orig_free;
- json_t *json = NULL;
- json_t *obj = json_object();
- json_t *arr1 = json_array();
- json_t *arr2 = json_array();
- json_t *txt = json_string("test");
- json_t *intnum = json_integer(1);
- json_t *dblnum = json_real(0.5);
- char *dumptxt = NULL;
- json_t *dumpobj = json_pack("{s:[iiis], s:s}", "key1", 1, 2, 3, "txt", "key2", "v2");
- int keyno;
-
- if (!obj || !arr1 || !arr2 || !txt || !intnum || !dblnum || !dumpobj)
- fail("failed to allocate basic objects");
-
- json_get_alloc_funcs(&orig_malloc, &orig_free);
- json_set_alloc_funcs(chaos_malloc, chaos_free);
-
- chaos_loop_new_value(json, json_pack("{s:s}", "key", "value"));
- chaos_loop_new_value(json, json_pack("{s:[]}", "key"));
- chaos_loop_new_value(json, json_pack("[biIf]", 1, 1, (json_int_t)1, 1.0));
- chaos_loop_new_value(json, json_pack("[s*,s*]", "v1", "v2"));
- chaos_loop_new_value(json, json_pack("o", json_incref(txt)));
- chaos_loop_new_value(json, json_pack("O", txt));
- chaos_loop_new_value(json, json_pack("s++", "a", "long string to force realloc",
- "another long string to force yet another "
- "reallocation of the string because "
- "that's what we are testing."));
-
- chaos_loop(test_unpack(), , );
-
- chaos_loop(json_dump_callback(dumpobj, dump_chaos_callback, NULL, JSON_INDENT(1)),
- , );
- chaos_loop(json_dump_callback(dumpobj, dump_chaos_callback, NULL,
- JSON_INDENT(1) | JSON_SORT_KEYS),
- , );
- chaos_loop(!dumptxt, dumptxt = json_dumps(dumpobj, JSON_COMPACT);, free(dumptxt);
- dumptxt = NULL;);
-
- chaos_loop_new_value(json, json_copy(obj));
- chaos_loop_new_value(json, json_deep_copy(obj));
-
- chaos_loop_new_value(json, json_copy(arr1));
- chaos_loop_new_value(json, json_deep_copy(arr1));
-
- chaos_loop_new_value(json, json_copy(txt));
- chaos_loop_new_value(json, json_copy(intnum));
- chaos_loop_new_value(json, json_copy(dblnum));
-
-#define JSON_LOAD_TXT "{\"n\":[1,2,3,4,5,6,7,8,9,10]}"
- chaos_loop_new_value(json, json_loads(JSON_LOAD_TXT, 0, NULL));
- chaos_loop_new_value(json, json_loadb(JSON_LOAD_TXT, strlen(JSON_LOAD_TXT), 0, NULL));
-
- chaos_loop_new_value(json, json_sprintf("%s", "string"));
-
- for (keyno = 0; keyno < 100; ++keyno) {
-#if !defined(_MSC_VER) || _MSC_VER >= 1900
- /* Skip this test on old Windows compilers. */
- char testkey[10];
-
- snprintf(testkey, sizeof(testkey), "test%d", keyno);
- chaos_loop(json_object_set_new_nocheck(obj, testkey, json_object()), , );
-#endif
- chaos_loop(json_array_append_new(arr1, json_null()), , );
- chaos_loop(json_array_insert_new(arr2, 0, json_null()), , );
- }
-
- chaos_loop(json_array_extend(arr1, arr2), , );
- chaos_loop(json_string_set_nocheck(txt, "test"), , );
-
- json_set_alloc_funcs(orig_malloc, orig_free);
- json_decref(obj);
- json_decref(arr1);
- json_decref(arr2);
- json_decref(txt);
- json_decref(intnum);
- json_decref(dblnum);
- json_decref(dumpobj);
-}
-
-static void run_tests() { test_chaos(); }
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_copy.c b/fluent-bit/lib/jansson-e23f558/test/suites/api/test_copy.c
deleted file mode 100644
index 656d98dd7..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_copy.c
+++ /dev/null
@@ -1,375 +0,0 @@
-/*
- * Copyright (c) 2009-2016 Petri Lehtinen <petri@digip.org>
- *
- * Jansson is free software; you can redistribute it and/or modify
- * it under the terms of the MIT license. See LICENSE for details.
- */
-
-#include "util.h"
-#include <jansson.h>
-#include <string.h>
-
-static void test_copy_simple(void) {
- json_t *value, *copy;
-
- if (json_copy(NULL))
- fail("copying NULL doesn't return NULL");
-
- /* true */
- value = json_true();
- copy = json_copy(value);
- if (value != copy)
- fail("copying true failed");
- json_decref(value);
- json_decref(copy);
-
- /* false */
- value = json_false();
- copy = json_copy(value);
- if (value != copy)
- fail("copying false failed");
- json_decref(value);
- json_decref(copy);
-
- /* null */
- value = json_null();
- copy = json_copy(value);
- if (value != copy)
- fail("copying null failed");
- json_decref(value);
- json_decref(copy);
-
- /* string */
- value = json_string("foo");
- if (!value)
- fail("unable to create a string");
- copy = json_copy(value);
- if (!copy)
- fail("unable to copy a string");
- if (copy == value)
- fail("copying a string doesn't copy");
- if (!json_equal(copy, value))
- fail("copying a string produces an inequal copy");
- if (value->refcount != 1 || copy->refcount != 1)
- fail("invalid refcounts");
- json_decref(value);
- json_decref(copy);
-
- /* integer */
- value = json_integer(543);
- if (!value)
- fail("unable to create an integer");
- copy = json_copy(value);
- if (!copy)
- fail("unable to copy an integer");
- if (copy == value)
- fail("copying an integer doesn't copy");
- if (!json_equal(copy, value))
- fail("copying an integer produces an inequal copy");
- if (value->refcount != 1 || copy->refcount != 1)
- fail("invalid refcounts");
- json_decref(value);
- json_decref(copy);
-
- /* real */
- value = json_real(123e9);
- if (!value)
- fail("unable to create a real");
- copy = json_copy(value);
- if (!copy)
- fail("unable to copy a real");
- if (copy == value)
- fail("copying a real doesn't copy");
- if (!json_equal(copy, value))
- fail("copying a real produces an inequal copy");
- if (value->refcount != 1 || copy->refcount != 1)
- fail("invalid refcounts");
- json_decref(value);
- json_decref(copy);
-}
-
-static void test_deep_copy_simple(void) {
- json_t *value, *copy;
-
- if (json_deep_copy(NULL))
- fail("deep copying NULL doesn't return NULL");
-
- /* true */
- value = json_true();
- copy = json_deep_copy(value);
- if (value != copy)
- fail("deep copying true failed");
- json_decref(value);
- json_decref(copy);
-
- /* false */
- value = json_false();
- copy = json_deep_copy(value);
- if (value != copy)
- fail("deep copying false failed");
- json_decref(value);
- json_decref(copy);
-
- /* null */
- value = json_null();
- copy = json_deep_copy(value);
- if (value != copy)
- fail("deep copying null failed");
- json_decref(value);
- json_decref(copy);
-
- /* string */
- value = json_string("foo");
- if (!value)
- fail("unable to create a string");
- copy = json_deep_copy(value);
- if (!copy)
- fail("unable to deep copy a string");
- if (copy == value)
- fail("deep copying a string doesn't copy");
- if (!json_equal(copy, value))
- fail("deep copying a string produces an inequal copy");
- if (value->refcount != 1 || copy->refcount != 1)
- fail("invalid refcounts");
- json_decref(value);
- json_decref(copy);
-
- /* integer */
- value = json_integer(543);
- if (!value)
- fail("unable to create an integer");
- copy = json_deep_copy(value);
- if (!copy)
- fail("unable to deep copy an integer");
- if (copy == value)
- fail("deep copying an integer doesn't copy");
- if (!json_equal(copy, value))
- fail("deep copying an integer produces an inequal copy");
- if (value->refcount != 1 || copy->refcount != 1)
- fail("invalid refcounts");
- json_decref(value);
- json_decref(copy);
-
- /* real */
- value = json_real(123e9);
- if (!value)
- fail("unable to create a real");
- copy = json_deep_copy(value);
- if (!copy)
- fail("unable to deep copy a real");
- if (copy == value)
- fail("deep copying a real doesn't copy");
- if (!json_equal(copy, value))
- fail("deep copying a real produces an inequal copy");
- if (value->refcount != 1 || copy->refcount != 1)
- fail("invalid refcounts");
- json_decref(value);
- json_decref(copy);
-}
-
-static void test_copy_array(void) {
- const char *json_array_text = "[1, \"foo\", 3.141592, {\"foo\": \"bar\"}]";
-
- json_t *array, *copy;
- size_t i;
-
- array = json_loads(json_array_text, 0, NULL);
- if (!array)
- fail("unable to parse an array");
-
- copy = json_copy(array);
- if (!copy)
- fail("unable to copy an array");
- if (copy == array)
- fail("copying an array doesn't copy");
- if (!json_equal(copy, array))
- fail("copying an array produces an inequal copy");
-
- for (i = 0; i < json_array_size(copy); i++) {
- if (json_array_get(array, i) != json_array_get(copy, i))
- fail("copying an array modifies its elements");
- }
-
- json_decref(array);
- json_decref(copy);
-}
-
-static void test_deep_copy_array(void) {
- const char *json_array_text = "[1, \"foo\", 3.141592, {\"foo\": \"bar\"}]";
-
- json_t *array, *copy;
- size_t i;
-
- array = json_loads(json_array_text, 0, NULL);
- if (!array)
- fail("unable to parse an array");
-
- copy = json_deep_copy(array);
- if (!copy)
- fail("unable to deep copy an array");
- if (copy == array)
- fail("deep copying an array doesn't copy");
- if (!json_equal(copy, array))
- fail("deep copying an array produces an inequal copy");
-
- for (i = 0; i < json_array_size(copy); i++) {
- if (json_array_get(array, i) == json_array_get(copy, i))
- fail("deep copying an array doesn't copy its elements");
- }
-
- json_decref(array);
- json_decref(copy);
-}
-
-static void test_copy_object(void) {
- const char *json_object_text =
- "{\"foo\": \"bar\", \"a\": 1, \"b\": 3.141592, \"c\": [1,2,3,4]}";
-
- const char *keys[] = {"foo", "a", "b", "c"};
- int i;
-
- json_t *object, *copy;
- void *iter;
-
- object = json_loads(json_object_text, 0, NULL);
- if (!object)
- fail("unable to parse an object");
-
- copy = json_copy(object);
- if (!copy)
- fail("unable to copy an object");
- if (copy == object)
- fail("copying an object doesn't copy");
- if (!json_equal(copy, object))
- fail("copying an object produces an inequal copy");
-
- i = 0;
- iter = json_object_iter(object);
- while (iter) {
- const char *key;
- json_t *value1, *value2;
-
- key = json_object_iter_key(iter);
- value1 = json_object_iter_value(iter);
- value2 = json_object_get(copy, key);
-
- if (value1 != value2)
- fail("copying an object modifies its items");
-
- if (strcmp(key, keys[i]) != 0)
- fail("copying an object doesn't preserve key order");
-
- iter = json_object_iter_next(object, iter);
- i++;
- }
-
- json_decref(object);
- json_decref(copy);
-}
-
-static void test_deep_copy_object(void) {
- const char *json_object_text =
- "{\"foo\": \"bar\", \"a\": 1, \"b\": 3.141592, \"c\": [1,2,3,4]}";
-
- const char *keys[] = {"foo", "a", "b", "c"};
- int i;
-
- json_t *object, *copy;
- void *iter;
-
- object = json_loads(json_object_text, 0, NULL);
- if (!object)
- fail("unable to parse an object");
-
- copy = json_deep_copy(object);
- if (!copy)
- fail("unable to deep copy an object");
- if (copy == object)
- fail("deep copying an object doesn't copy");
- if (!json_equal(copy, object))
- fail("deep copying an object produces an inequal copy");
-
- i = 0;
- iter = json_object_iter(object);
- while (iter) {
- const char *key;
- json_t *value1, *value2;
-
- key = json_object_iter_key(iter);
- value1 = json_object_iter_value(iter);
- value2 = json_object_get(copy, key);
-
- if (value1 == value2)
- fail("deep copying an object doesn't copy its items");
-
- if (strcmp(key, keys[i]) != 0)
- fail("deep copying an object doesn't preserve key order");
-
- iter = json_object_iter_next(object, iter);
- i++;
- }
-
- json_decref(object);
- json_decref(copy);
-}
-
-static void test_deep_copy_circular_references(void) {
- /* Construct a JSON object/array with a circular reference:
-
- object: {"a": {"b": {"c": <circular reference to $.a>}}}
- array: [[[<circular reference to the $[0] array>]]]
-
- Deep copy it, remove the circular reference and deep copy again.
- */
-
- json_t *json;
- json_t *copy;
-
- json = json_object();
- json_object_set_new(json, "a", json_object());
- json_object_set_new(json_object_get(json, "a"), "b", json_object());
- json_object_set(json_object_get(json_object_get(json, "a"), "b"), "c",
- json_object_get(json, "a"));
-
- copy = json_deep_copy(json);
- if (copy)
- fail("json_deep_copy copied a circular reference!");
-
- json_object_del(json_object_get(json_object_get(json, "a"), "b"), "c");
-
- copy = json_deep_copy(json);
- if (!copy)
- fail("json_deep_copy failed!");
-
- json_decref(copy);
- json_decref(json);
-
- json = json_array();
- json_array_append_new(json, json_array());
- json_array_append_new(json_array_get(json, 0), json_array());
- json_array_append(json_array_get(json_array_get(json, 0), 0),
- json_array_get(json, 0));
-
- copy = json_deep_copy(json);
- if (copy)
- fail("json_deep_copy copied a circular reference!");
-
- json_array_remove(json_array_get(json_array_get(json, 0), 0), 0);
-
- copy = json_deep_copy(json);
- if (!copy)
- fail("json_deep_copy failed!");
-
- json_decref(copy);
- json_decref(json);
-}
-
-static void run_tests() {
- test_copy_simple();
- test_deep_copy_simple();
- test_copy_array();
- test_deep_copy_array();
- test_copy_object();
- test_deep_copy_object();
- test_deep_copy_circular_references();
-}
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_dump.c b/fluent-bit/lib/jansson-e23f558/test/suites/api/test_dump.c
deleted file mode 100644
index e8cb51962..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_dump.c
+++ /dev/null
@@ -1,311 +0,0 @@
-/*
- * Copyright (c) 2009-2016 Petri Lehtinen <petri@digip.org>
- *
- * Jansson is free software; you can redistribute it and/or modify
- * it under the terms of the MIT license. See LICENSE for details.
- */
-
-#include "jansson_private_config.h"
-
-#include <jansson.h>
-#include <string.h>
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-#include "util.h"
-#ifdef __MINGW32__
-#include <fcntl.h>
-#define pipe(fds) _pipe(fds, 1024, _O_BINARY)
-#endif
-
-static int encode_null_callback(const char *buffer, size_t size, void *data) {
- (void)buffer;
- (void)size;
- (void)data;
- return 0;
-}
-
-static void encode_null() {
- if (json_dumps(NULL, JSON_ENCODE_ANY) != NULL)
- fail("json_dumps didn't fail for NULL");
-
- if (json_dumpb(NULL, NULL, 0, JSON_ENCODE_ANY) != 0)
- fail("json_dumpb didn't fail for NULL");
-
- if (json_dumpf(NULL, stderr, JSON_ENCODE_ANY) != -1)
- fail("json_dumpf didn't fail for NULL");
-
-#ifdef HAVE_UNISTD_H
- if (json_dumpfd(NULL, STDERR_FILENO, JSON_ENCODE_ANY) != -1)
- fail("json_dumpfd didn't fail for NULL");
-#endif
-
- /* Don't test json_dump_file to avoid creating a file */
-
- if (json_dump_callback(NULL, encode_null_callback, NULL, JSON_ENCODE_ANY) != -1)
- fail("json_dump_callback didn't fail for NULL");
-}
-
-static void encode_twice() {
- /* Encode an empty object/array, add an item, encode again */
-
- json_t *json;
- char *result;
-
- json = json_object();
- result = json_dumps(json, 0);
- if (!result || strcmp(result, "{}"))
- fail("json_dumps failed");
- free(result);
-
- json_object_set_new(json, "foo", json_integer(5));
- result = json_dumps(json, 0);
- if (!result || strcmp(result, "{\"foo\": 5}"))
- fail("json_dumps failed");
- free(result);
-
- json_decref(json);
-
- json = json_array();
- result = json_dumps(json, 0);
- if (!result || strcmp(result, "[]"))
- fail("json_dumps failed");
- free(result);
-
- json_array_append_new(json, json_integer(5));
- result = json_dumps(json, 0);
- if (!result || strcmp(result, "[5]"))
- fail("json_dumps failed");
- free(result);
-
- json_decref(json);
-}
-
-static void circular_references() {
- /* Construct a JSON object/array with a circular reference:
-
- object: {"a": {"b": {"c": <circular reference to $.a>}}}
- array: [[[<circular reference to the $[0] array>]]]
-
- Encode it, remove the circular reference and encode again.
- */
-
- json_t *json;
- char *result;
-
- json = json_object();
- json_object_set_new(json, "a", json_object());
- json_object_set_new(json_object_get(json, "a"), "b", json_object());
- json_object_set(json_object_get(json_object_get(json, "a"), "b"), "c",
- json_object_get(json, "a"));
-
- if (json_dumps(json, 0))
- fail("json_dumps encoded a circular reference!");
-
- json_object_del(json_object_get(json_object_get(json, "a"), "b"), "c");
-
- result = json_dumps(json, 0);
- if (!result || strcmp(result, "{\"a\": {\"b\": {}}}"))
- fail("json_dumps failed!");
- free(result);
-
- json_decref(json);
-
- json = json_array();
- json_array_append_new(json, json_array());
- json_array_append_new(json_array_get(json, 0), json_array());
- json_array_append(json_array_get(json_array_get(json, 0), 0),
- json_array_get(json, 0));
-
- if (json_dumps(json, 0))
- fail("json_dumps encoded a circular reference!");
-
- json_array_remove(json_array_get(json_array_get(json, 0), 0), 0);
-
- result = json_dumps(json, 0);
- if (!result || strcmp(result, "[[[]]]"))
- fail("json_dumps failed!");
- free(result);
-
- json_decref(json);
-}
-
-static void encode_other_than_array_or_object() {
- /* Encoding anything other than array or object should only
- * succeed if the JSON_ENCODE_ANY flag is used */
-
- json_t *json;
- char *result;
-
- json = json_string("foo");
- if (json_dumps(json, 0) != NULL)
- fail("json_dumps encoded a string!");
- if (json_dumpf(json, NULL, 0) == 0)
- fail("json_dumpf encoded a string!");
- if (json_dumpfd(json, -1, 0) == 0)
- fail("json_dumpfd encoded a string!");
-
- result = json_dumps(json, JSON_ENCODE_ANY);
- if (!result || strcmp(result, "\"foo\"") != 0)
- fail("json_dumps failed to encode a string with JSON_ENCODE_ANY");
-
- free(result);
- json_decref(json);
-
- json = json_integer(42);
- if (json_dumps(json, 0) != NULL)
- fail("json_dumps encoded an integer!");
- if (json_dumpf(json, NULL, 0) == 0)
- fail("json_dumpf encoded an integer!");
- if (json_dumpfd(json, -1, 0) == 0)
- fail("json_dumpfd encoded an integer!");
-
- result = json_dumps(json, JSON_ENCODE_ANY);
- if (!result || strcmp(result, "42") != 0)
- fail("json_dumps failed to encode an integer with JSON_ENCODE_ANY");
-
- free(result);
- json_decref(json);
-}
-
-static void escape_slashes() {
- /* Test dump escaping slashes */
-
- json_t *json;
- char *result;
-
- json = json_object();
- json_object_set_new(json, "url", json_string("https://github.com/akheron/jansson"));
-
- result = json_dumps(json, 0);
- if (!result || strcmp(result, "{\"url\": \"https://github.com/akheron/jansson\"}"))
- fail("json_dumps failed to not escape slashes");
-
- free(result);
-
- result = json_dumps(json, JSON_ESCAPE_SLASH);
- if (!result ||
- strcmp(result, "{\"url\": \"https:\\/\\/github.com\\/akheron\\/jansson\"}"))
- fail("json_dumps failed to escape slashes");
-
- free(result);
- json_decref(json);
-}
-
-static void encode_nul_byte() {
- json_t *json;
- char *result;
-
- json = json_stringn("nul byte \0 in string", 20);
- result = json_dumps(json, JSON_ENCODE_ANY);
- if (!result || memcmp(result, "\"nul byte \\u0000 in string\"", 27))
- fail("json_dumps failed to dump an embedded NUL byte");
-
- free(result);
- json_decref(json);
-}
-
-static void dump_file() {
- json_t *json;
- int result;
-
- result = json_dump_file(NULL, "", 0);
- if (result != -1)
- fail("json_dump_file succeeded with invalid args");
-
- json = json_object();
- result = json_dump_file(json, "json_dump_file.json", 0);
- if (result != 0)
- fail("json_dump_file failed");
-
- json_decref(json);
- remove("json_dump_file.json");
-}
-
-static void dumpb() {
- char buf[2];
- json_t *obj;
- size_t size;
-
- obj = json_object();
-
- size = json_dumpb(obj, buf, sizeof(buf), 0);
- if (size != 2 || strncmp(buf, "{}", 2))
- fail("json_dumpb failed");
-
- json_decref(obj);
- obj = json_pack("{s:s}", "foo", "bar");
-
- size = json_dumpb(obj, buf, sizeof(buf), JSON_COMPACT);
- if (size != 13)
- fail("json_dumpb size check failed");
-
- json_decref(obj);
-}
-
-static void dumpfd() {
-#ifdef HAVE_UNISTD_H
- int fds[2] = {-1, -1};
- json_t *a, *b;
-
- if (pipe(fds))
- fail("pipe() failed");
-
- a = json_pack("{s:s}", "foo", "bar");
-
- if (json_dumpfd(a, fds[1], 0))
- fail("json_dumpfd() failed");
- close(fds[1]);
-
- b = json_loadfd(fds[0], 0, NULL);
- if (!b)
- fail("json_loadfd() failed");
- close(fds[0]);
-
- if (!json_equal(a, b))
- fail("json_equal() failed for fd test");
-
- json_decref(a);
- json_decref(b);
-#endif
-}
-
-static void embed() {
- static const char *plains[] = {"{\"bar\":[],\"foo\":{}}", "[[],{}]", "{}", "[]",
- NULL};
-
- size_t i;
-
- for (i = 0; plains[i]; i++) {
- const char *plain = plains[i];
- json_t *parse = NULL;
- char *embed = NULL;
- size_t psize = 0;
- size_t esize = 0;
-
- psize = strlen(plain) - 2;
- embed = calloc(1, psize);
- parse = json_loads(plain, 0, NULL);
- esize =
- json_dumpb(parse, embed, psize, JSON_COMPACT | JSON_SORT_KEYS | JSON_EMBED);
- json_decref(parse);
- if (esize != psize)
- fail("json_dumpb(JSON_EMBED) returned an invalid size");
- if (strncmp(plain + 1, embed, esize) != 0)
- fail("json_dumps(JSON_EMBED) returned an invalid value");
- free(embed);
- }
-}
-
-static void run_tests() {
- encode_null();
- encode_twice();
- circular_references();
- encode_other_than_array_or_object();
- escape_slashes();
- encode_nul_byte();
- dump_file();
- dumpb();
- dumpfd();
- embed();
-}
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_dump_callback.c b/fluent-bit/lib/jansson-e23f558/test/suites/api/test_dump_callback.c
deleted file mode 100644
index 80ea00845..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_dump_callback.c
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
- * Copyright (c) 2009-2016 Petri Lehtinen <petri@digip.org>
- *
- * Jansson is free software; you can redistribute it and/or modify
- * it under the terms of the MIT license. See LICENSE for details.
- */
-
-#include "util.h"
-#include <jansson.h>
-#include <stdlib.h>
-#include <string.h>
-
-struct my_sink {
- char *buf;
- size_t off;
- size_t cap;
-};
-
-static int my_writer(const char *buffer, size_t len, void *data) {
- struct my_sink *s = data;
- if (len > s->cap - s->off) {
- return -1;
- }
- memcpy(s->buf + s->off, buffer, len);
- s->off += len;
- return 0;
-}
-
-static void run_tests() {
- struct my_sink s;
- json_t *json;
- const char str[] = "[\"A\", {\"B\": \"C\", \"e\": false}, 1, null, \"foo\"]";
- char *dumped_to_string;
-
- json = json_loads(str, 0, NULL);
- if (!json) {
- fail("json_loads failed");
- }
-
- dumped_to_string = json_dumps(json, 0);
- if (!dumped_to_string) {
- json_decref(json);
- fail("json_dumps failed");
- }
-
- s.off = 0;
- s.cap = strlen(dumped_to_string);
- s.buf = malloc(s.cap);
- if (!s.buf) {
- json_decref(json);
- free(dumped_to_string);
- fail("malloc failed");
- }
-
- if (json_dump_callback(json, my_writer, &s, 0) == -1) {
- json_decref(json);
- free(dumped_to_string);
- free(s.buf);
- fail("json_dump_callback failed on an exact-length sink buffer");
- }
-
- if (strncmp(dumped_to_string, s.buf, s.off) != 0) {
- json_decref(json);
- free(dumped_to_string);
- free(s.buf);
- fail("json_dump_callback and json_dumps did not produce identical "
- "output");
- }
-
- s.off = 1;
- if (json_dump_callback(json, my_writer, &s, 0) != -1) {
- json_decref(json);
- free(dumped_to_string);
- free(s.buf);
- fail("json_dump_callback succeeded on a short buffer when it should "
- "have failed");
- }
-
- json_decref(json);
- free(dumped_to_string);
- free(s.buf);
-}
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_equal.c b/fluent-bit/lib/jansson-e23f558/test/suites/api/test_equal.c
deleted file mode 100644
index d068b7bf8..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_equal.c
+++ /dev/null
@@ -1,202 +0,0 @@
-/*
- * Copyright (c) 2009-2016 Petri Lehtinen <petri@digip.org>
- *
- * Jansson is free software; you can redistribute it and/or modify
- * it under the terms of the MIT license. See LICENSE for details.
- */
-
-#include "util.h"
-#include <jansson.h>
-
-static void test_equal_simple() {
- json_t *value1, *value2;
-
- if (json_equal(NULL, NULL))
- fail("json_equal fails for two NULLs");
-
- value1 = json_true();
- if (json_equal(value1, NULL) || json_equal(NULL, value1))
- fail("json_equal fails for NULL");
-
- /* this covers true, false and null as they are singletons */
- if (!json_equal(value1, value1))
- fail("identical objects are not equal");
- json_decref(value1);
-
- /* integer */
- value1 = json_integer(1);
- value2 = json_integer(1);
- if (!value1 || !value2)
- fail("unable to create integers");
- if (!json_equal(value1, value2))
- fail("json_equal fails for two equal integers");
- json_decref(value2);
-
- value2 = json_integer(2);
- if (!value2)
- fail("unable to create an integer");
- if (json_equal(value1, value2))
- fail("json_equal fails for two inequal integers");
-
- json_decref(value1);
- json_decref(value2);
-
- /* real */
- value1 = json_real(1.2);
- value2 = json_real(1.2);
- if (!value1 || !value2)
- fail("unable to create reals");
- if (!json_equal(value1, value2))
- fail("json_equal fails for two equal reals");
- json_decref(value2);
-
- value2 = json_real(3.141592);
- if (!value2)
- fail("unable to create an real");
- if (json_equal(value1, value2))
- fail("json_equal fails for two inequal reals");
-
- json_decref(value1);
- json_decref(value2);
-
- /* string */
- value1 = json_string("foo");
- value2 = json_string("foo");
- if (!value1 || !value2)
- fail("unable to create strings");
- if (!json_equal(value1, value2))
- fail("json_equal fails for two equal strings");
- json_decref(value2);
-
- value2 = json_string("bar");
- if (!value2)
- fail("unable to create an string");
- if (json_equal(value1, value2))
- fail("json_equal fails for two inequal strings");
- json_decref(value2);
-
- value2 = json_string("bar2");
- if (!value2)
- fail("unable to create an string");
- if (json_equal(value1, value2))
- fail("json_equal fails for two inequal length strings");
-
- json_decref(value1);
- json_decref(value2);
-}
-
-static void test_equal_array() {
- json_t *array1, *array2;
-
- array1 = json_array();
- array2 = json_array();
- if (!array1 || !array2)
- fail("unable to create arrays");
-
- if (!json_equal(array1, array2))
- fail("json_equal fails for two empty arrays");
-
- json_array_append_new(array1, json_integer(1));
- json_array_append_new(array2, json_integer(1));
- json_array_append_new(array1, json_string("foo"));
- json_array_append_new(array2, json_string("foo"));
- json_array_append_new(array1, json_integer(2));
- json_array_append_new(array2, json_integer(2));
- if (!json_equal(array1, array2))
- fail("json_equal fails for two equal arrays");
-
- json_array_remove(array2, 2);
- if (json_equal(array1, array2))
- fail("json_equal fails for two inequal arrays");
-
- json_array_append_new(array2, json_integer(3));
- if (json_equal(array1, array2))
- fail("json_equal fails for two inequal arrays");
-
- json_decref(array1);
- json_decref(array2);
-}
-
-static void test_equal_object() {
- json_t *object1, *object2;
-
- object1 = json_object();
- object2 = json_object();
- if (!object1 || !object2)
- fail("unable to create objects");
-
- if (!json_equal(object1, object2))
- fail("json_equal fails for two empty objects");
-
- json_object_set_new(object1, "a", json_integer(1));
- json_object_set_new(object2, "a", json_integer(1));
- json_object_set_new(object1, "b", json_string("foo"));
- json_object_set_new(object2, "b", json_string("foo"));
- json_object_set_new(object1, "c", json_integer(2));
- json_object_set_new(object2, "c", json_integer(2));
- if (!json_equal(object1, object2))
- fail("json_equal fails for two equal objects");
-
- json_object_del(object2, "c");
- if (json_equal(object1, object2))
- fail("json_equal fails for two inequal objects");
-
- json_object_set_new(object2, "c", json_integer(3));
- if (json_equal(object1, object2))
- fail("json_equal fails for two inequal objects");
-
- json_object_del(object2, "c");
- json_object_set_new(object2, "d", json_integer(2));
- if (json_equal(object1, object2))
- fail("json_equal fails for two inequal objects");
-
- json_decref(object1);
- json_decref(object2);
-}
-
-static void test_equal_complex() {
- json_t *value1, *value2, *value3;
-
- const char *complex_json = "{"
- " \"integer\": 1, "
- " \"real\": 3.141592, "
- " \"string\": \"foobar\", "
- " \"true\": true, "
- " \"object\": {"
- " \"array-in-object\": [1,true,\"foo\",{}],"
- " \"object-in-object\": {\"foo\": \"bar\"}"
- " },"
- " \"array\": [\"foo\", false, null, 1.234]"
- "}";
-
- value1 = json_loads(complex_json, 0, NULL);
- value2 = json_loads(complex_json, 0, NULL);
- value3 = json_loads(complex_json, 0, NULL);
- if (!value1 || !value2)
- fail("unable to parse JSON");
- if (!json_equal(value1, value2))
- fail("json_equal fails for two equal objects");
-
- json_array_set_new(
- json_object_get(json_object_get(value2, "object"), "array-in-object"), 1,
- json_false());
- if (json_equal(value1, value2))
- fail("json_equal fails for two inequal objects");
-
- json_object_set_new(
- json_object_get(json_object_get(value3, "object"), "object-in-object"), "foo",
- json_string("baz"));
- if (json_equal(value1, value3))
- fail("json_equal fails for two inequal objects");
-
- json_decref(value1);
- json_decref(value2);
- json_decref(value3);
-}
-
-static void run_tests() {
- test_equal_simple();
- test_equal_array();
- test_equal_object();
- test_equal_complex();
-}
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_fixed_size.c b/fluent-bit/lib/jansson-e23f558/test/suites/api/test_fixed_size.c
deleted file mode 100644
index 4ae9e079c..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_fixed_size.c
+++ /dev/null
@@ -1,228 +0,0 @@
-/*
- * Copyright (c) 2020 Petri Lehtinen <petri@digip.org>
- *
- * Jansson is free software; you can redistribute it and/or modify
- * it under the terms of the MIT license. See LICENSE for details.
- */
-
-#include "util.h"
-#include <jansson.h>
-#include <string.h>
-
-static void test_keylen_iterator(json_t *object) {
- const char key1[] = {'t', 'e', 's', 't', '1'};
- const char key2[] = {'t', 'e', 's', 't'};
- const char key3[] = {'t', 'e', 's', '\0', 't'};
- const char key4[] = {'t', 'e', 's', 't', '\0'};
- const char *reference_keys[] = {key1, key2, key3, key4};
- const size_t reference_keys_len[] = {sizeof(key1), sizeof(key2), sizeof(key3),
- sizeof(key4)};
- size_t index = 0;
- json_t *value;
- const char *key;
- size_t keylen;
-
- json_object_keylen_foreach(object, key, keylen, value) {
- if (keylen != reference_keys_len[index])
- fail("invalid key len in iterator");
- if (memcmp(key, reference_keys[index], reference_keys_len[index]) != 0)
- fail("invalid key in iterator");
-
- index++;
- }
-}
-
-static void test_keylen(void) {
- json_t *obj = json_object();
- const char key[] = {'t', 'e', 's', 't', '1'};
- const char key2[] = {'t', 'e', 's', 't'};
- const char key3[] = {'t', 'e', 's', '\0', 't'};
- const char key4[] = {'t', 'e', 's', 't', '\0'};
-
- if (json_object_size(obj) != 0)
- fail("incorrect json");
-
- json_object_set_new_nocheck(obj, "test1", json_true());
-
- if (json_object_size(obj) != 1)
- fail("incorrect json");
-
- if (json_object_getn(obj, key, sizeof(key)) != json_true())
- fail("json_object_getn failed");
-
- if (json_object_getn(obj, key2, sizeof(key2)) != NULL)
- fail("false positive json_object_getn by key2");
-
- if (json_object_setn_nocheck(obj, key2, sizeof(key2), json_false()))
- fail("json_object_setn_nocheck for key2 failed");
-
- if (json_object_size(obj) != 2)
- fail("incorrect json");
-
- if (json_object_get(obj, "test") != json_false())
- fail("json_object_setn_nocheck for key2 failed");
-
- if (json_object_getn(obj, key2, sizeof(key2)) != json_false())
- fail("json_object_getn by key 2 failed");
-
- if (json_object_getn(obj, key3, sizeof(key3)) != NULL)
- fail("false positive json_object_getn by key3");
-
- if (json_object_setn_nocheck(obj, key3, sizeof(key3), json_false()))
- fail("json_object_setn_nocheck for key3 failed");
-
- if (json_object_size(obj) != 3)
- fail("incorrect json");
-
- if (json_object_getn(obj, key3, sizeof(key3)) != json_false())
- fail("json_object_getn by key 3 failed");
-
- if (json_object_getn(obj, key4, sizeof(key4)) != NULL)
- fail("false positive json_object_getn by key3");
-
- if (json_object_setn_nocheck(obj, key4, sizeof(key4), json_false()))
- fail("json_object_setn_nocheck for key3 failed");
-
- if (json_object_size(obj) != 4)
- fail("incorrect json");
-
- test_keylen_iterator(obj);
-
- if (json_object_getn(obj, key4, sizeof(key4)) != json_false())
- fail("json_object_getn by key 3 failed");
-
- if (json_object_size(obj) != 4)
- fail("incorrect json");
-
- if (json_object_deln(obj, key4, sizeof(key4)))
- fail("json_object_deln failed");
- if (json_object_getn(obj, key4, sizeof(key4)) != NULL)
- fail("json_object_deln failed");
- if (json_object_size(obj) != 3)
- fail("incorrect json");
-
- if (json_object_deln(obj, key3, sizeof(key3)))
- fail("json_object_deln failed");
- if (json_object_getn(obj, key3, sizeof(key3)) != NULL)
- fail("json_object_deln failed");
- if (json_object_size(obj) != 2)
- fail("incorrect json");
-
- if (json_object_deln(obj, key2, sizeof(key2)))
- fail("json_object_deln failed");
- if (json_object_getn(obj, key2, sizeof(key2)) != NULL)
- fail("json_object_deln failed");
- if (json_object_size(obj) != 1)
- fail("incorrect json");
-
- if (json_object_deln(obj, key, sizeof(key)))
- fail("json_object_deln failed");
- if (json_object_getn(obj, key, sizeof(key)) != NULL)
- fail("json_object_deln failed");
- if (json_object_size(obj) != 0)
- fail("incorrect json");
-
- json_decref(obj);
-}
-
-static void test_invalid_keylen(void) {
- json_t *obj = json_object();
- json_t *empty_obj = json_object();
- const char key[] = {'t', 'e', 's', 't', '1'};
-
- json_object_set_new_nocheck(obj, "test1", json_true());
-
- if (json_object_getn(NULL, key, sizeof(key)) != NULL)
- fail("json_object_getn on NULL failed");
-
- if (json_object_getn(obj, NULL, sizeof(key)) != NULL)
- fail("json_object_getn on NULL failed");
-
- if (json_object_getn(obj, key, 0) != NULL)
- fail("json_object_getn on NULL failed");
-
- if (!json_object_setn_new(obj, NULL, sizeof(key), json_true()))
- fail("json_object_setn_new with NULL key failed");
-
- if (!json_object_setn_new_nocheck(obj, NULL, sizeof(key), json_true()))
- fail("json_object_setn_new_nocheck with NULL key failed");
-
- if (!json_object_del(obj, NULL))
- fail("json_object_del with NULL failed");
-
- if (!json_object_deln(empty_obj, key, sizeof(key)))
- fail("json_object_deln with empty object failed");
-
- if (!json_object_deln(obj, key, sizeof(key) - 1))
- fail("json_object_deln with incomplete key failed");
-
- json_decref(obj);
- json_decref(empty_obj);
-}
-
-static void test_binary_keys(void) {
- json_t *obj = json_object();
- int key1 = 0;
- int key2 = 1;
-
- json_object_setn_nocheck(obj, (const char *)&key1, sizeof(key1), json_true());
- json_object_setn_nocheck(obj, (const char *)&key2, sizeof(key2), json_true());
-
- if (!json_is_true(json_object_getn(obj, (const char *)&key1, sizeof(key1))))
- fail("cannot get integer key1");
-
- if (!json_is_true(json_object_getn(obj, (const char *)&key1, sizeof(key2))))
- fail("cannot get integer key2");
-
- if (json_object_size(obj) != 2)
- fail("binary object size missmatch");
-
- if (json_object_deln(obj, (const char *)&key1, sizeof(key1)))
- fail("cannot del integer key1");
-
- if (json_object_size(obj) != 1)
- fail("binary object size missmatch");
-
- if (json_object_deln(obj, (const char *)&key2, sizeof(key2)))
- fail("cannot del integer key2");
-
- if (json_object_size(obj) != 0)
- fail("binary object size missmatch");
-
- json_decref(obj);
-}
-
-static void test_dump_order(void) {
- json_t *obj = json_object();
- char key1[] = {'k', '\0', '-', '2'};
- char key2[] = {'k', '\0', '-', '1'};
- const char expected_sorted_str[] =
- "{\"k\\u0000-1\": \"first\", \"k\\u0000-2\": \"second\"}";
- const char expected_nonsorted_str[] =
- "{\"k\\u0000-2\": \"second\", \"k\\u0000-1\": \"first\"}";
- char *out;
-
- json_object_setn_new_nocheck(obj, key1, sizeof(key1), json_string("second"));
- json_object_setn_new_nocheck(obj, key2, sizeof(key2), json_string("first"));
-
- out = malloc(512);
-
- json_dumpb(obj, out, 512, 0);
-
- if (memcmp(expected_nonsorted_str, out, sizeof(expected_nonsorted_str) - 1) != 0)
- fail("preserve order failed");
-
- json_dumpb(obj, out, 512, JSON_SORT_KEYS);
- if (memcmp(expected_sorted_str, out, sizeof(expected_sorted_str) - 1) != 0)
- fail("utf-8 sort failed");
-
- free(out);
- json_decref(obj);
-}
-
-static void run_tests() {
- test_keylen();
- test_invalid_keylen();
- test_binary_keys();
- test_dump_order();
-}
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_load.c b/fluent-bit/lib/jansson-e23f558/test/suites/api/test_load.c
deleted file mode 100644
index 1c64b0c8d..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_load.c
+++ /dev/null
@@ -1,238 +0,0 @@
-/*
- * Copyright (c) 2009-2016 Petri Lehtinen <petri@digip.org>
- *
- * Jansson is free software; you can redistribute it and/or modify
- * it under the terms of the MIT license. See LICENSE for details.
- */
-
-#include "util.h"
-#include <jansson.h>
-#include <string.h>
-
-static void file_not_found() {
- json_t *json;
- json_error_t error;
- char *pos;
-
- json = json_load_file("/path/to/nonexistent/file.json", 0, &error);
- if (json)
- fail("json_load_file returned non-NULL for a nonexistent file");
- if (error.line != -1)
- fail("json_load_file returned an invalid line number");
-
- /* The error message is locale specific, only check the beginning
- of the error message. */
-
- pos = strchr(error.text, ':');
- if (!pos)
- fail("json_load_file returne an invalid error message");
-
- *pos = '\0';
-
- if (strcmp(error.text, "unable to open /path/to/nonexistent/file.json") != 0)
- fail("json_load_file returned an invalid error message");
- if (json_error_code(&error) != json_error_cannot_open_file)
- fail("json_load_file returned an invalid error code");
-}
-
-static void very_long_file_name() {
- json_t *json;
- json_error_t error;
-
- json = json_load_file("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
- "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
- 0, &error);
- if (json)
- fail("json_load_file returned non-NULL for a nonexistent file");
- if (error.line != -1)
- fail("json_load_file returned an invalid line number");
-
- if (strncmp(error.source, "...aaa", 6) != 0)
- fail("error source was set incorrectly");
- if (json_error_code(&error) != json_error_cannot_open_file)
- fail("error code was set incorrectly");
-}
-
-static void reject_duplicates() {
- json_error_t error;
-
- if (json_loads("{\"foo\": 1, \"foo\": 2}", JSON_REJECT_DUPLICATES, &error))
- fail("json_loads did not detect a duplicate key");
- check_error(json_error_duplicate_key, "duplicate object key near '\"foo\"'",
- "<string>", 1, 16, 16);
-}
-
-static void disable_eof_check() {
- json_error_t error;
- json_t *json;
-
- const char *text = "{\"foo\": 1} garbage";
-
- if (json_loads(text, 0, &error))
- fail("json_loads did not detect garbage after JSON text");
- check_error(json_error_end_of_input_expected, "end of file expected near 'garbage'",
- "<string>", 1, 18, 18);
-
- json = json_loads(text, JSON_DISABLE_EOF_CHECK, &error);
- if (!json)
- fail("json_loads failed with JSON_DISABLE_EOF_CHECK");
-
- json_decref(json);
-}
-
-static void decode_any() {
- json_t *json;
- json_error_t error;
-
- json = json_loads("\"foo\"", JSON_DECODE_ANY, &error);
- if (!json || !json_is_string(json))
- fail("json_load decoded any failed - string");
- json_decref(json);
-
- json = json_loads("42", JSON_DECODE_ANY, &error);
- if (!json || !json_is_integer(json))
- fail("json_load decoded any failed - integer");
- json_decref(json);
-
- json = json_loads("true", JSON_DECODE_ANY, &error);
- if (!json || !json_is_true(json))
- fail("json_load decoded any failed - boolean");
- json_decref(json);
-
- json = json_loads("null", JSON_DECODE_ANY, &error);
- if (!json || !json_is_null(json))
- fail("json_load decoded any failed - null");
- json_decref(json);
-}
-
-static void decode_int_as_real() {
- json_t *json;
- json_error_t error;
-
-#if JSON_INTEGER_IS_LONG_LONG
- const char *imprecise;
- json_int_t expected;
-#endif
-
- char big[311];
-
- json = json_loads("42", JSON_DECODE_INT_AS_REAL | JSON_DECODE_ANY, &error);
- if (!json || !json_is_real(json) || json_real_value(json) != 42.0)
- fail("json_load decode int as real failed - int");
- json_decref(json);
-
-#if JSON_INTEGER_IS_LONG_LONG
- /* This number cannot be represented exactly by a double */
- imprecise = "9007199254740993";
- expected = 9007199254740992ll;
-
- json = json_loads(imprecise, JSON_DECODE_INT_AS_REAL | JSON_DECODE_ANY, &error);
- if (!json || !json_is_real(json) || expected != (json_int_t)json_real_value(json))
- fail("json_load decode int as real failed - expected imprecision");
- json_decref(json);
-#endif
-
- /* 1E309 overflows. Here we create 1E309 as a decimal number, i.e.
- 1000...(309 zeroes)...0. */
- big[0] = '1';
- memset(big + 1, '0', 309);
- big[310] = '\0';
-
- json = json_loads(big, JSON_DECODE_INT_AS_REAL | JSON_DECODE_ANY, &error);
- if (json || strcmp(error.text, "real number overflow") != 0 ||
- json_error_code(&error) != json_error_numeric_overflow)
- fail("json_load decode int as real failed - expected overflow");
- json_decref(json);
-}
-
-static void allow_nul() {
- const char *text = "\"nul byte \\u0000 in string\"";
- const char *expected = "nul byte \0 in string";
- size_t len = 20;
- json_t *json;
-
- json = json_loads(text, JSON_ALLOW_NUL | JSON_DECODE_ANY, NULL);
- if (!json || !json_is_string(json))
- fail("unable to decode embedded NUL byte");
-
- if (json_string_length(json) != len)
- fail("decoder returned wrong string length");
-
- if (memcmp(json_string_value(json), expected, len + 1))
- fail("decoder returned wrong string content");
-
- json_decref(json);
-}
-
-static void load_wrong_args() {
- json_t *json;
- json_error_t error;
-
- json = json_loads(NULL, 0, &error);
- if (json)
- fail("json_loads should return NULL if the first argument is NULL");
-
- json = json_loadb(NULL, 0, 0, &error);
- if (json)
- fail("json_loadb should return NULL if the first argument is NULL");
-
- json = json_loadf(NULL, 0, &error);
- if (json)
- fail("json_loadf should return NULL if the first argument is NULL");
-
- json = json_loadfd(-1, 0, &error);
- if (json)
- fail("json_loadfd should return NULL if the first argument is < 0");
-
- json = json_load_file(NULL, 0, &error);
- if (json)
- fail("json_load_file should return NULL if the first argument is NULL");
-}
-
-static void position() {
- json_t *json;
- size_t flags = JSON_DISABLE_EOF_CHECK;
- json_error_t error;
-
- json = json_loads("{\"foo\": \"bar\"}", 0, &error);
- if (error.position != 14)
- fail("json_loads returned a wrong position");
- json_decref(json);
-
- json = json_loads("{\"foo\": \"bar\"} baz quux", flags, &error);
- if (error.position != 14)
- fail("json_loads returned a wrong position");
- json_decref(json);
-}
-
-static void error_code() {
- json_error_t error;
- json_t *json = json_loads("[123] garbage", 0, &error);
- if (json != NULL)
- fail("json_loads returned not NULL");
- if (strlen(error.text) >= JSON_ERROR_TEXT_LENGTH)
- fail("error.text longer than expected");
- if (json_error_code(&error) != json_error_end_of_input_expected)
- fail("json_loads returned incorrect error code");
-
- json = json_loads("{\"foo\": ", 0, &error);
- if (json != NULL)
- fail("json_loads returned not NULL");
- if (strlen(error.text) >= JSON_ERROR_TEXT_LENGTH)
- fail("error.text longer than expected");
- if (json_error_code(&error) != json_error_premature_end_of_input)
- fail("json_loads returned incorrect error code");
-}
-
-static void run_tests() {
- file_not_found();
- very_long_file_name();
- reject_duplicates();
- disable_eof_check();
- decode_any();
- decode_int_as_real();
- allow_nul();
- load_wrong_args();
- position();
- error_code();
-}
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_load_callback.c b/fluent-bit/lib/jansson-e23f558/test/suites/api/test_load_callback.c
deleted file mode 100644
index b292fcf42..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_load_callback.c
+++ /dev/null
@@ -1,77 +0,0 @@
-/*
- * Copyright (c) 2009-2011 Petri Lehtinen <petri@digip.org>
- *
- * Jansson is free software; you can redistribute it and/or modify
- * it under the terms of the MIT license. See LICENSE for details.
- */
-
-#include "util.h"
-#include <jansson.h>
-#include <stdlib.h>
-#include <string.h>
-
-struct my_source {
- const char *buf;
- size_t off;
- size_t cap;
-};
-
-static const char my_str[] = "[\"A\", {\"B\": \"C\", \"e\": false}, 1, null, \"foo\"]";
-
-static size_t greedy_reader(void *buf, size_t buflen, void *arg) {
- struct my_source *s = arg;
- if (buflen > s->cap - s->off)
- buflen = s->cap - s->off;
- if (buflen > 0) {
- memcpy(buf, s->buf + s->off, buflen);
- s->off += buflen;
- return buflen;
- } else {
- return 0;
- }
-}
-
-static void run_tests() {
- struct my_source s;
- json_t *json;
- json_error_t error;
-
- s.off = 0;
- s.cap = strlen(my_str);
- s.buf = my_str;
-
- json = json_load_callback(greedy_reader, &s, 0, &error);
-
- if (!json)
- fail("json_load_callback failed on a valid callback");
- json_decref(json);
-
- s.off = 0;
- s.cap = strlen(my_str) - 1;
- s.buf = my_str;
-
- json = json_load_callback(greedy_reader, &s, 0, &error);
- if (json) {
- json_decref(json);
- fail("json_load_callback should have failed on an incomplete stream, "
- "but it didn't");
- }
- if (strcmp(error.source, "<callback>") != 0) {
- fail("json_load_callback returned an invalid error source");
- }
- if (strcmp(error.text, "']' expected near end of file") != 0) {
- fail("json_load_callback returned an invalid error message for an "
- "unclosed top-level array");
- }
-
- json = json_load_callback(NULL, NULL, 0, &error);
- if (json) {
- json_decref(json);
- fail("json_load_callback should have failed on NULL load callback, but "
- "it didn't");
- }
- if (strcmp(error.text, "wrong arguments") != 0) {
- fail("json_load_callback returned an invalid error message for a NULL "
- "load callback");
- }
-}
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_loadb.c b/fluent-bit/lib/jansson-e23f558/test/suites/api/test_loadb.c
deleted file mode 100644
index 2cd88fef3..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_loadb.c
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (c) 2009-2016 Petri Lehtinen <petri@digip.org>
- *
- * Jansson is free software; you can redistribute it and/or modify
- * it under the terms of the MIT license. See LICENSE for details.
- */
-
-#include "util.h"
-#include <jansson.h>
-#include <string.h>
-
-static void run_tests() {
- json_t *json;
- json_error_t error;
- const char str[] = "[\"A\", {\"B\": \"C\"}, 1, 2, 3]garbage";
- size_t len = strlen(str) - strlen("garbage");
-
- json = json_loadb(str, len, 0, &error);
- if (!json) {
- fail("json_loadb failed on a valid JSON buffer");
- }
- json_decref(json);
-
- json = json_loadb(str, len - 1, 0, &error);
- if (json) {
- json_decref(json);
- fail("json_loadb should have failed on an incomplete buffer, but it "
- "didn't");
- }
- if (error.line != 1) {
- fail("json_loadb returned an invalid line number on fail");
- }
- if (strcmp(error.text, "']' expected near end of file") != 0) {
- fail("json_loadb returned an invalid error message for an unclosed "
- "top-level array");
- }
-}
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_memory_funcs.c b/fluent-bit/lib/jansson-e23f558/test/suites/api/test_memory_funcs.c
deleted file mode 100644
index 4fd616654..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_memory_funcs.c
+++ /dev/null
@@ -1,115 +0,0 @@
-#include <jansson.h>
-#include <string.h>
-
-#include "util.h"
-
-static int malloc_called = 0;
-static int free_called = 0;
-static size_t malloc_used = 0;
-
-/* helpers */
-static void create_and_free_complex_object() {
- json_t *obj;
-
- obj = json_pack("{s:i,s:n,s:b,s:b,s:{s:s},s:[i,i,i]}", "foo", 42, "bar", "baz", 1,
- "qux", 0, "alice", "bar", "baz", "bob", 9, 8, 7);
-
- json_decref(obj);
-}
-
-static void create_and_free_object_with_oom() {
- int i;
- char key[4];
- json_t *obj = json_object();
-
- for (i = 0; i < 10; i++) {
- snprintf(key, sizeof key, "%d", i);
- json_object_set_new(obj, key, json_integer(i));
- }
-
- json_decref(obj);
-}
-
-static void *my_malloc(size_t size) {
- malloc_called = 1;
- return malloc(size);
-}
-
-static void my_free(void *ptr) {
- free_called = 1;
- free(ptr);
-}
-
-static void test_simple() {
- json_malloc_t mfunc = NULL;
- json_free_t ffunc = NULL;
-
- json_set_alloc_funcs(my_malloc, my_free);
- json_get_alloc_funcs(&mfunc, &ffunc);
- create_and_free_complex_object();
-
- if (malloc_called != 1 || free_called != 1 || mfunc != my_malloc || ffunc != my_free)
- fail("Custom allocation failed");
-}
-
-static void *oom_malloc(size_t size) {
- if (malloc_used + size > 800)
- return NULL;
-
- malloc_used += size;
- return malloc(size);
-}
-
-static void oom_free(void *ptr) {
- free_called++;
- free(ptr);
-}
-
-static void test_oom() {
- free_called = 0;
- json_set_alloc_funcs(oom_malloc, oom_free);
- create_and_free_object_with_oom();
-
- if (free_called == 0)
- fail("Allocation with OOM failed");
-}
-
-/*
- Test the secure memory functions code given in the API reference
- documentation, but by using plain memset instead of
- guaranteed_memset().
-*/
-
-static void *secure_malloc(size_t size) {
- /* Store the memory area size in the beginning of the block */
- void *ptr = malloc(size + 8);
- *((size_t *)ptr) = size;
- return (char *)ptr + 8;
-}
-
-static void secure_free(void *ptr) {
- size_t size;
-
- ptr = (char *)ptr - 8;
- size = *((size_t *)ptr);
-
- /*guaranteed_*/ memset(ptr, 0, size + 8);
- free(ptr);
-}
-
-static void test_secure_funcs(void) {
- json_set_alloc_funcs(secure_malloc, secure_free);
- create_and_free_complex_object();
-}
-
-static void test_bad_args(void) {
- /* The result of this test is not crashing. */
- json_get_alloc_funcs(NULL, NULL);
-}
-
-static void run_tests() {
- test_simple();
- test_secure_funcs();
- test_oom();
- test_bad_args();
-}
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_number.c b/fluent-bit/lib/jansson-e23f558/test/suites/api/test_number.c
deleted file mode 100644
index 2a22a67d3..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_number.c
+++ /dev/null
@@ -1,123 +0,0 @@
-/*
- * Copyright (c) 2009-2016 Petri Lehtinen <petri@digip.org>
- *
- * Jansson is free software; you can redistribute it and/or modify
- * it under the terms of the MIT license. See LICENSE for details.
- */
-
-#include "util.h"
-#include <jansson.h>
-#include <math.h>
-
-#ifdef INFINITY
-// This test triggers "warning C4756: overflow in constant arithmetic"
-// in Visual Studio. This warning is triggered here by design, so disable it.
-// (This can only be done on function level so we keep these tests separate)
-#ifdef _MSC_VER
-#pragma warning(push)
-#pragma warning(disable : 4756)
-#endif
-static void test_inifity() {
- json_t *real = json_real(INFINITY);
- if (real != NULL)
- fail("could construct a real from Inf");
-
- real = json_real(1.0);
- if (json_real_set(real, INFINITY) != -1)
- fail("could set a real to Inf");
-
- if (json_real_value(real) != 1.0)
- fail("real value changed unexpectedly");
-
- json_decref(real);
-#ifdef _MSC_VER
-#pragma warning(pop)
-#endif
-}
-#endif // INFINITY
-
-static void test_bad_args(void) {
- json_t *txt = json_string("test");
-
- if (json_integer_value(NULL) != 0)
- fail("json_integer_value did not return 0 for non-integer");
- if (json_integer_value(txt) != 0)
- fail("json_integer_value did not return 0 for non-integer");
-
- if (!json_integer_set(NULL, 0))
- fail("json_integer_set did not return error for non-integer");
- if (!json_integer_set(txt, 0))
- fail("json_integer_set did not return error for non-integer");
-
- if (json_real_value(NULL) != 0.0)
- fail("json_real_value did not return 0.0 for non-real");
- if (json_real_value(txt) != 0.0)
- fail("json_real_value did not return 0.0 for non-real");
-
- if (!json_real_set(NULL, 0.0))
- fail("json_real_set did not return error for non-real");
- if (!json_real_set(txt, 0.0))
- fail("json_real_set did not return error for non-real");
-
- if (json_number_value(NULL) != 0.0)
- fail("json_number_value did not return 0.0 for non-numeric");
- if (json_number_value(txt) != 0.0)
- fail("json_number_value did not return 0.0 for non-numeric");
-
- if (txt->refcount != 1)
- fail("unexpected reference count for txt");
-
- json_decref(txt);
-}
-
-static void run_tests() {
- json_t *integer, *real;
- json_int_t i;
- double d;
-
- integer = json_integer(5);
- real = json_real(100.1);
-
- if (!integer)
- fail("unable to create integer");
- if (!real)
- fail("unable to create real");
-
- i = json_integer_value(integer);
- if (i != 5)
- fail("wrong integer value");
-
- d = json_real_value(real);
- if (d != 100.1)
- fail("wrong real value");
-
- d = json_number_value(integer);
- if (d != 5.0)
- fail("wrong number value");
- d = json_number_value(real);
- if (d != 100.1)
- fail("wrong number value");
-
- json_decref(integer);
- json_decref(real);
-
-#ifdef NAN
- real = json_real(NAN);
- if (real != NULL)
- fail("could construct a real from NaN");
-
- real = json_real(1.0);
- if (json_real_set(real, NAN) != -1)
- fail("could set a real to NaN");
-
- if (json_real_value(real) != 1.0)
- fail("real value changed unexpectedly");
-
- json_decref(real);
-#endif
-
-#ifdef INFINITY
- test_inifity();
-#endif
- test_bad_args();
-}
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_object.c b/fluent-bit/lib/jansson-e23f558/test/suites/api/test_object.c
deleted file mode 100644
index 331edf229..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_object.c
+++ /dev/null
@@ -1,797 +0,0 @@
-/*
- * Copyright (c) 2009-2016 Petri Lehtinen <petri@digip.org>
- *
- * Jansson is free software; you can redistribute it and/or modify
- * it under the terms of the MIT license. See LICENSE for details.
- */
-
-#include "util.h"
-#include <jansson.h>
-#include <string.h>
-
-static void test_clear() {
- json_t *object, *ten;
-
- object = json_object();
- ten = json_integer(10);
-
- if (!object)
- fail("unable to create object");
- if (!ten)
- fail("unable to create integer");
-
- if (json_object_set(object, "a", ten) || json_object_set(object, "b", ten) ||
- json_object_set(object, "c", ten) || json_object_set(object, "d", ten) ||
- json_object_set(object, "e", ten))
- fail("unable to set value");
-
- if (json_object_size(object) != 5)
- fail("invalid size");
-
- json_object_clear(object);
-
- if (json_object_size(object) != 0)
- fail("invalid size after clear");
-
- json_decref(ten);
- json_decref(object);
-}
-
-static void test_update() {
- json_t *object, *other, *nine, *ten;
-
- object = json_object();
- other = json_object();
-
- nine = json_integer(9);
- ten = json_integer(10);
-
- if (!object || !other)
- fail("unable to create object");
- if (!nine || !ten)
- fail("unable to create integer");
-
- /* update an empty object with an empty object */
-
- if (json_object_update(object, other))
- fail("unable to update an empty object with an empty object");
-
- if (json_object_size(object) != 0)
- fail("invalid size after update");
-
- if (json_object_size(other) != 0)
- fail("invalid size for updater after update");
-
- /* update an empty object with a nonempty object */
-
- if (json_object_set(other, "a", ten) || json_object_set(other, "b", ten) ||
- json_object_set(other, "c", ten) || json_object_set(other, "d", ten) ||
- json_object_set(other, "e", ten))
- fail("unable to set value");
-
- if (json_object_update(object, other))
- fail("unable to update an empty object");
-
- if (json_object_size(object) != 5)
- fail("invalid size after update");
-
- if (json_object_get(object, "a") != ten || json_object_get(object, "b") != ten ||
- json_object_get(object, "c") != ten || json_object_get(object, "d") != ten ||
- json_object_get(object, "e") != ten)
- fail("update works incorrectly");
-
- /* perform the same update again */
-
- if (json_object_update(object, other))
- fail("unable to update a non-empty object");
-
- if (json_object_size(object) != 5)
- fail("invalid size after update");
-
- if (json_object_get(object, "a") != ten || json_object_get(object, "b") != ten ||
- json_object_get(object, "c") != ten || json_object_get(object, "d") != ten ||
- json_object_get(object, "e") != ten)
- fail("update works incorrectly");
-
- /* update a nonempty object with a nonempty object with both old
- and new keys */
-
- if (json_object_clear(other))
- fail("clear failed");
-
- if (json_object_set(other, "a", nine) || json_object_set(other, "b", nine) ||
- json_object_set(other, "f", nine) || json_object_set(other, "g", nine) ||
- json_object_set(other, "h", nine))
- fail("unable to set value");
-
- if (json_object_update(object, other))
- fail("unable to update a nonempty object");
-
- if (json_object_size(object) != 8)
- fail("invalid size after update");
-
- if (json_object_get(object, "a") != nine || json_object_get(object, "b") != nine ||
- json_object_get(object, "f") != nine || json_object_get(object, "g") != nine ||
- json_object_get(object, "h") != nine)
- fail("update works incorrectly");
-
- /* update_new check */
- if (json_object_clear(object))
- fail("clear failed");
-
- if (json_object_set(object, "a", ten) || json_object_set(object, "b", ten) ||
- json_object_set(object, "c", ten) || json_object_set(object, "d", ten) ||
- json_object_set(object, "e", ten))
- fail("unable to set value");
-
- if (json_object_update_new(
- object, json_pack("{s:O, s:O, s:O}", "b", nine, "f", nine, "g", nine)))
- fail("unable to update_new a nonempty object");
-
- if (json_object_size(object) != 7)
- fail("invalid size after update_new");
-
- if (json_object_get(object, "a") != ten || json_object_get(object, "b") != nine ||
- json_object_get(object, "c") != ten || json_object_get(object, "d") != ten ||
- json_object_get(object, "e") != ten || json_object_get(object, "f") != nine ||
- json_object_get(object, "g") != nine)
- fail("update_new works incorrectly");
-
- json_decref(nine);
- json_decref(ten);
- json_decref(other);
- json_decref(object);
-}
-
-static void test_set_many_keys() {
- json_t *object, *value;
- const char *keys = "abcdefghijklmnopqrstuvwxyz";
- char buf[2];
- size_t i;
-
- object = json_object();
- if (!object)
- fail("unable to create object");
-
- value = json_string("a");
- if (!value)
- fail("unable to create string");
-
- buf[1] = '\0';
- for (i = 0; i < strlen(keys); i++) {
- buf[0] = keys[i];
- if (json_object_set(object, buf, value))
- fail("unable to set object key");
- }
-
- json_decref(object);
- json_decref(value);
-}
-
-static void test_conditional_updates() {
- json_t *object, *other;
-
- object = json_pack("{sisi}", "foo", 1, "bar", 2);
- other = json_pack("{sisi}", "foo", 3, "baz", 4);
-
- if (json_object_update_existing(object, other))
- fail("json_object_update_existing failed");
-
- if (json_object_size(object) != 2)
- fail("json_object_update_existing added new items");
-
- if (json_integer_value(json_object_get(object, "foo")) != 3)
- fail("json_object_update_existing failed to update existing key");
-
- if (json_integer_value(json_object_get(object, "bar")) != 2)
- fail("json_object_update_existing updated wrong key");
-
- json_decref(object);
-
- /* json_object_update_existing_new check */
- object = json_pack("{sisi}", "foo", 1, "bar", 2);
-
- if (json_object_update_existing_new(object, json_pack("{sisi}", "foo", 3, "baz", 4)))
- fail("json_object_update_existing_new failed");
-
- if (json_object_size(object) != 2)
- fail("json_object_update_existing_new added new items");
-
- if (json_integer_value(json_object_get(object, "foo")) != 3)
- fail("json_object_update_existing_new failed to update existing key");
-
- if (json_integer_value(json_object_get(object, "bar")) != 2)
- fail("json_object_update_existing_new updated wrong key");
-
- json_decref(object);
-
- object = json_pack("{sisi}", "foo", 1, "bar", 2);
-
- if (json_object_update_missing(object, other))
- fail("json_object_update_missing failed");
-
- if (json_object_size(object) != 3)
- fail("json_object_update_missing didn't add new items");
-
- if (json_integer_value(json_object_get(object, "foo")) != 1)
- fail("json_object_update_missing updated existing key");
-
- if (json_integer_value(json_object_get(object, "bar")) != 2)
- fail("json_object_update_missing updated wrong key");
-
- if (json_integer_value(json_object_get(object, "baz")) != 4)
- fail("json_object_update_missing didn't add new items");
-
- json_decref(object);
-
- /* json_object_update_missing_new check */
- object = json_pack("{sisi}", "foo", 1, "bar", 2);
-
- if (json_object_update_missing_new(object, json_pack("{sisi}", "foo", 3, "baz", 4)))
- fail("json_object_update_missing_new failed");
-
- if (json_object_size(object) != 3)
- fail("json_object_update_missing_new didn't add new items");
-
- if (json_integer_value(json_object_get(object, "foo")) != 1)
- fail("json_object_update_missing_new updated existing key");
-
- if (json_integer_value(json_object_get(object, "bar")) != 2)
- fail("json_object_update_missing_new updated wrong key");
-
- if (json_integer_value(json_object_get(object, "baz")) != 4)
- fail("json_object_update_missing_new didn't add new items");
-
- json_decref(object);
- json_decref(other);
-}
-
-static void test_recursive_updates() {
- json_t *invalid, *object, *other, *barBefore, *barAfter;
-
- invalid = json_integer(42);
-
- object = json_pack("{sis{si}}", "foo", 1, "bar", "baz", 2);
- other = json_pack("{sisisi}", "foo", 3, "bar", 4, "baz", 5);
-
- if (!json_object_update_recursive(invalid, other))
- fail("json_object_update_recursive accepted non-object argument");
-
- json_decref(invalid);
-
- if (json_object_update_recursive(object, other))
- fail("json_object_update_recursive failed");
-
- if (json_object_size(object) != 3)
- fail("invalid size after update");
-
- if (json_integer_value(json_object_get(object, "foo")) != 3)
- fail("json_object_update_recursive failed to update existing key");
-
- if (json_integer_value(json_object_get(object, "bar")) != 4)
- fail("json_object_update_recursive failed to overwrite object");
-
- if (json_integer_value(json_object_get(object, "baz")) != 5)
- fail("json_object_update_recursive didn't add new item");
-
- json_decref(object);
- json_decref(other);
-
- object = json_pack("{sis{si}}", "foo", 1, "bar", "baz", 2);
- other = json_pack("{s{si}}", "bar", "baz", 3);
- barBefore = json_object_get(object, "bar");
-
- if (!barBefore)
- fail("can't get bar object before json_object_update_recursive");
-
- if (json_object_update_recursive(object, other))
- fail("json_object_update_recursive failed");
-
- if (json_object_size(object) != 2)
- fail("invalid size after update");
-
- if (!json_object_get(object, "foo"))
- fail("json_object_update_recursive removed existing key");
-
- if (json_integer_value(json_object_get(json_object_get(object, "bar"), "baz")) != 3)
- fail("json_object_update_recursive failed to update nested value");
-
- barAfter = json_object_get(object, "bar");
- if (!barAfter)
- fail("can't get bar object after json_object_update_recursive");
-
- if (barBefore != barAfter)
- fail("bar object reference changed after json_object_update_recursive");
-
- json_decref(object);
- json_decref(other);
-
- /* check circular reference */
- object = json_pack("{s{s{s{si}}}}", "foo", "bar", "baz", "xxx", 2);
- other = json_pack("{s{s{si}}}", "foo", "bar", "baz", 2);
- json_object_set(json_object_get(json_object_get(other, "foo"), "bar"), "baz",
- json_object_get(other, "foo"));
-
- if (!json_object_update_recursive(object, other))
- fail("json_object_update_recursive update a circular reference!");
-
- json_object_set_new(json_object_get(json_object_get(other, "foo"), "bar"), "baz",
- json_integer(1));
-
- if (json_object_update_recursive(object, other))
- fail("json_object_update_recursive failed!");
-
- json_decref(object);
- json_decref(other);
-}
-
-static void test_circular() {
- json_t *object1, *object2;
-
- object1 = json_object();
- object2 = json_object();
- if (!object1 || !object2)
- fail("unable to create object");
-
- /* the simple case is checked */
- if (json_object_set(object1, "a", object1) == 0)
- fail("able to set self");
-
- /* create circular references */
- if (json_object_set(object1, "a", object2) || json_object_set(object2, "a", object1))
- fail("unable to set value");
-
- /* circularity is detected when dumping */
- if (json_dumps(object1, 0) != NULL)
- fail("able to dump circulars");
-
- /* decref twice to deal with the circular references */
- json_decref(object1);
- json_decref(object2);
- json_decref(object1);
-}
-
-static void test_set_nocheck() {
- json_t *object, *string;
-
- object = json_object();
- string = json_string("bar");
-
- if (!object)
- fail("unable to create object");
- if (!string)
- fail("unable to create string");
-
- if (json_object_set_nocheck(object, "foo", string))
- fail("json_object_set_nocheck failed");
- if (json_object_get(object, "foo") != string)
- fail("json_object_get after json_object_set_nocheck failed");
-
- /* invalid UTF-8 in key */
- if (json_object_set_nocheck(object, "a\xefz", string))
- fail("json_object_set_nocheck failed for invalid UTF-8");
- if (json_object_get(object, "a\xefz") != string)
- fail("json_object_get after json_object_set_nocheck failed");
-
- if (json_object_set_new_nocheck(object, "bax", json_integer(123)))
- fail("json_object_set_new_nocheck failed");
- if (json_integer_value(json_object_get(object, "bax")) != 123)
- fail("json_object_get after json_object_set_new_nocheck failed");
-
- /* invalid UTF-8 in key */
- if (json_object_set_new_nocheck(object, "asdf\xfe", json_integer(321)))
- fail("json_object_set_new_nocheck failed for invalid UTF-8");
- if (json_integer_value(json_object_get(object, "asdf\xfe")) != 321)
- fail("json_object_get after json_object_set_new_nocheck failed");
-
- json_decref(string);
- json_decref(object);
-}
-
-static void test_iterators() {
- json_t *object, *foo, *bar, *baz;
- void *iter;
-
- if (json_object_iter(NULL))
- fail("able to iterate over NULL");
-
- if (json_object_iter_next(NULL, NULL))
- fail("able to increment an iterator on a NULL object");
-
- object = json_object();
- foo = json_string("foo");
- bar = json_string("bar");
- baz = json_string("baz");
- if (!object || !foo || !bar || !baz)
- fail("unable to create values");
-
- if (json_object_iter_next(object, NULL))
- fail("able to increment a NULL iterator");
-
- if (json_object_set(object, "a", foo) || json_object_set(object, "b", bar) ||
- json_object_set(object, "c", baz))
- fail("unable to populate object");
-
- iter = json_object_iter(object);
- if (!iter)
- fail("unable to get iterator");
- if (strcmp(json_object_iter_key(iter), "a") != 0)
- fail("iterating doesn't yield keys in order");
- if (json_object_iter_value(iter) != foo)
- fail("iterating doesn't yield values in order");
-
- iter = json_object_iter_next(object, iter);
- if (!iter)
- fail("unable to increment iterator");
- if (strcmp(json_object_iter_key(iter), "b") != 0)
- fail("iterating doesn't yield keys in order");
- if (json_object_iter_value(iter) != bar)
- fail("iterating doesn't yield values in order");
-
- iter = json_object_iter_next(object, iter);
- if (!iter)
- fail("unable to increment iterator");
- if (strcmp(json_object_iter_key(iter), "c") != 0)
- fail("iterating doesn't yield keys in order");
- if (json_object_iter_value(iter) != baz)
- fail("iterating doesn't yield values in order");
-
- if (json_object_iter_next(object, iter) != NULL)
- fail("able to iterate over the end");
-
- if (json_object_iter_at(object, "foo"))
- fail("json_object_iter_at() succeeds for non-existent key");
-
- iter = json_object_iter_at(object, "b");
- if (!iter)
- fail("json_object_iter_at() fails for an existing key");
-
- if (strcmp(json_object_iter_key(iter), "b"))
- fail("iterating failed: wrong key");
- if (json_object_iter_value(iter) != bar)
- fail("iterating failed: wrong value");
-
- if (json_object_iter_set(object, iter, baz))
- fail("unable to set value at iterator");
-
- if (strcmp(json_object_iter_key(iter), "b"))
- fail("json_object_iter_key() fails after json_object_iter_set()");
- if (json_object_iter_value(iter) != baz)
- fail("json_object_iter_value() fails after json_object_iter_set()");
- if (json_object_get(object, "b") != baz)
- fail("json_object_get() fails after json_object_iter_set()");
-
- json_decref(object);
- json_decref(foo);
- json_decref(bar);
- json_decref(baz);
-}
-
-static void test_misc() {
- json_t *object, *string, *other_string, *value;
-
- object = json_object();
- string = json_string("test");
- other_string = json_string("other");
-
- if (!object)
- fail("unable to create object");
- if (!string || !other_string)
- fail("unable to create string");
-
- if (json_object_get(object, "a"))
- fail("value for nonexisting key");
-
- if (json_object_set(object, "a", string))
- fail("unable to set value");
-
- if (!json_object_set(object, NULL, string))
- fail("able to set NULL key");
-
- if (json_object_del(object, "a"))
- fail("unable to del the only key");
-
- if (json_object_set(object, "a", string))
- fail("unable to set value");
-
- if (!json_object_set(object, "a", NULL))
- fail("able to set NULL value");
-
- /* invalid UTF-8 in key */
- if (!json_object_set(object, "a\xefz", string))
- fail("able to set invalid unicode key");
-
- value = json_object_get(object, "a");
- if (!value)
- fail("no value for existing key");
- if (value != string)
- fail("got different value than what was added");
-
- /* "a", "lp" and "px" collide in a five-bucket hashtable */
- if (json_object_set(object, "b", string) || json_object_set(object, "lp", string) ||
- json_object_set(object, "px", string))
- fail("unable to set value");
-
- value = json_object_get(object, "a");
- if (!value)
- fail("no value for existing key");
- if (value != string)
- fail("got different value than what was added");
-
- if (json_object_set(object, "a", other_string))
- fail("unable to replace an existing key");
-
- value = json_object_get(object, "a");
- if (!value)
- fail("no value for existing key");
- if (value != other_string)
- fail("got different value than what was set");
-
- if (!json_object_del(object, "nonexisting"))
- fail("able to delete a nonexisting key");
-
- if (json_object_del(object, "px"))
- fail("unable to delete an existing key");
-
- if (json_object_del(object, "a"))
- fail("unable to delete an existing key");
-
- if (json_object_del(object, "lp"))
- fail("unable to delete an existing key");
-
- /* add many keys to initiate rehashing */
-
- if (json_object_set(object, "a", string))
- fail("unable to set value");
-
- if (json_object_set(object, "lp", string))
- fail("unable to set value");
-
- if (json_object_set(object, "px", string))
- fail("unable to set value");
-
- if (json_object_set(object, "c", string))
- fail("unable to set value");
-
- if (json_object_set(object, "d", string))
- fail("unable to set value");
-
- if (json_object_set(object, "e", string))
- fail("unable to set value");
-
- if (json_object_set_new(object, "foo", json_integer(123)))
- fail("unable to set new value");
-
- value = json_object_get(object, "foo");
- if (!json_is_integer(value) || json_integer_value(value) != 123)
- fail("json_object_set_new works incorrectly");
-
- if (!json_object_set_new(object, NULL, json_integer(432)))
- fail("able to set_new NULL key");
-
- if (!json_object_set_new(object, "foo", NULL))
- fail("able to set_new NULL value");
-
- json_decref(string);
- json_decref(other_string);
- json_decref(object);
-}
-
-static void test_preserve_order() {
- json_t *object;
- char *result;
-
- const char *expected = "{\"foobar\": 1, \"bazquux\": 6, \"lorem ipsum\": "
- "3, \"sit amet\": 5, \"helicopter\": 7}";
-
- object = json_object();
-
- json_object_set_new(object, "foobar", json_integer(1));
- json_object_set_new(object, "bazquux", json_integer(2));
- json_object_set_new(object, "lorem ipsum", json_integer(3));
- json_object_set_new(object, "dolor", json_integer(4));
- json_object_set_new(object, "sit amet", json_integer(5));
-
- /* changing a value should preserve the order */
- json_object_set_new(object, "bazquux", json_integer(6));
-
- /* deletion shouldn't change the order of others */
- json_object_del(object, "dolor");
-
- /* add a new item just to make sure */
- json_object_set_new(object, "helicopter", json_integer(7));
-
- result = json_dumps(object, JSON_PRESERVE_ORDER);
-
- if (strcmp(expected, result) != 0) {
- fprintf(stderr, "%s != %s", expected, result);
- fail("JSON_PRESERVE_ORDER doesn't work");
- }
-
- free(result);
- json_decref(object);
-}
-
-static void test_object_foreach() {
- const char *key;
- json_t *object1, *object2, *value;
-
- object1 = json_pack("{sisisi}", "foo", 1, "bar", 2, "baz", 3);
- object2 = json_object();
-
- json_object_foreach(object1, key, value) json_object_set(object2, key, value);
-
- if (!json_equal(object1, object2))
- fail("json_object_foreach failed to iterate all key-value pairs");
-
- json_decref(object1);
- json_decref(object2);
-}
-
-static void test_object_foreach_safe() {
- const char *key;
- void *tmp;
- json_t *object, *value;
-
- object = json_pack("{sisisi}", "foo", 1, "bar", 2, "baz", 3);
-
- json_object_foreach_safe(object, tmp, key, value) { json_object_del(object, key); }
-
- if (json_object_size(object) != 0)
- fail("json_object_foreach_safe failed to iterate all key-value pairs");
-
- json_decref(object);
-}
-
-static void test_bad_args(void) {
- json_t *obj = json_object();
- json_t *num = json_integer(1);
- void *iter;
-
- if (!obj || !num)
- fail("failed to allocate test objects");
-
- if (json_object_set(obj, "testkey", json_null()))
- fail("failed to set testkey on object");
-
- iter = json_object_iter(obj);
- if (!iter)
- fail("failed to retrieve test iterator");
-
- if (json_object_size(NULL) != 0)
- fail("json_object_size with non-object argument returned non-zero");
- if (json_object_size(num) != 0)
- fail("json_object_size with non-object argument returned non-zero");
-
- if (json_object_get(NULL, "test") != NULL)
- fail("json_object_get with non-object argument returned non-NULL");
- if (json_object_get(num, "test") != NULL)
- fail("json_object_get with non-object argument returned non-NULL");
- if (json_object_get(obj, NULL) != NULL)
- fail("json_object_get with NULL key returned non-NULL");
-
- if (!json_object_set_new_nocheck(NULL, "test", json_null()))
- fail("json_object_set_new_nocheck with non-object argument did not "
- "return error");
- if (!json_object_set_new_nocheck(num, "test", json_null()))
- fail("json_object_set_new_nocheck with non-object argument did not "
- "return error");
- if (!json_object_set_new_nocheck(obj, "test", json_incref(obj)))
- fail("json_object_set_new_nocheck with object == value did not return "
- "error");
- if (!json_object_set_new_nocheck(obj, NULL, json_object()))
- fail("json_object_set_new_nocheck with NULL key did not return error");
-
- if (!json_object_del(NULL, "test"))
- fail("json_object_del with non-object argument did not return error");
- if (!json_object_del(num, "test"))
- fail("json_object_del with non-object argument did not return error");
- if (!json_object_del(obj, NULL))
- fail("json_object_del with NULL key did not return error");
-
- if (!json_object_clear(NULL))
- fail("json_object_clear with non-object argument did not return error");
- if (!json_object_clear(num))
- fail("json_object_clear with non-object argument did not return error");
-
- if (!json_object_update(NULL, obj))
- fail("json_object_update with non-object first argument did not return "
- "error");
- if (!json_object_update(num, obj))
- fail("json_object_update with non-object first argument did not return "
- "error");
- if (!json_object_update(obj, NULL))
- fail("json_object_update with non-object second argument did not "
- "return error");
- if (!json_object_update(obj, num))
- fail("json_object_update with non-object second argument did not "
- "return error");
-
- if (!json_object_update_existing(NULL, obj))
- fail("json_object_update_existing with non-object first argument did "
- "not return error");
- if (!json_object_update_existing(num, obj))
- fail("json_object_update_existing with non-object first argument did "
- "not return error");
- if (!json_object_update_existing(obj, NULL))
- fail("json_object_update_existing with non-object second argument did "
- "not return error");
- if (!json_object_update_existing(obj, num))
- fail("json_object_update_existing with non-object second argument did "
- "not return error");
-
- if (!json_object_update_missing(NULL, obj))
- fail("json_object_update_missing with non-object first argument did "
- "not return error");
- if (!json_object_update_missing(num, obj))
- fail("json_object_update_missing with non-object first argument did "
- "not return error");
- if (!json_object_update_missing(obj, NULL))
- fail("json_object_update_missing with non-object second argument did "
- "not return error");
- if (!json_object_update_missing(obj, num))
- fail("json_object_update_missing with non-object second argument did "
- "not return error");
-
- if (json_object_iter(NULL) != NULL)
- fail("json_object_iter with non-object argument returned non-NULL");
- if (json_object_iter(num) != NULL)
- fail("json_object_iter with non-object argument returned non-NULL");
-
- if (json_object_iter_at(NULL, "test") != NULL)
- fail("json_object_iter_at with non-object argument returned non-NULL");
- if (json_object_iter_at(num, "test") != NULL)
- fail("json_object_iter_at with non-object argument returned non-NULL");
- if (json_object_iter_at(obj, NULL) != NULL)
- fail("json_object_iter_at with NULL iter returned non-NULL");
-
- if (json_object_iter_next(obj, NULL) != NULL)
- fail("json_object_iter_next with NULL iter returned non-NULL");
- if (json_object_iter_next(num, iter) != NULL)
- fail("json_object_iter_next with non-object argument returned non-NULL");
-
- if (json_object_iter_key(NULL) != NULL)
- fail("json_object_iter_key with NULL iter returned non-NULL");
-
- if (json_object_key_to_iter(NULL) != NULL)
- fail("json_object_key_to_iter with NULL iter returned non-NULL");
-
- if (json_object_iter_value(NULL) != NULL)
- fail("json_object_iter_value with NULL iter returned non-NULL");
-
- if (!json_object_iter_set_new(NULL, iter, json_incref(num)))
- fail("json_object_iter_set_new with non-object argument did not return "
- "error");
- if (!json_object_iter_set_new(num, iter, json_incref(num)))
- fail("json_object_iter_set_new with non-object argument did not return "
- "error");
- if (!json_object_iter_set_new(obj, NULL, json_incref(num)))
- fail("json_object_iter_set_new with NULL iter did not return error");
- if (!json_object_iter_set_new(obj, iter, NULL))
- fail("json_object_iter_set_new with NULL value did not return error");
-
- if (obj->refcount != 1)
- fail("unexpected reference count for obj");
-
- if (num->refcount != 1)
- fail("unexpected reference count for num");
-
- json_decref(obj);
- json_decref(num);
-}
-
-static void run_tests() {
- test_misc();
- test_clear();
- test_update();
- test_set_many_keys();
- test_conditional_updates();
- test_recursive_updates();
- test_circular();
- test_set_nocheck();
- test_iterators();
- test_preserve_order();
- test_object_foreach();
- test_object_foreach_safe();
- test_bad_args();
-}
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_pack.c b/fluent-bit/lib/jansson-e23f558/test/suites/api/test_pack.c
deleted file mode 100644
index 865f60b68..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_pack.c
+++ /dev/null
@@ -1,547 +0,0 @@
-/*
- * Copyright (c) 2009-2016 Petri Lehtinen <petri@digip.org>
- * Copyright (c) 2010-2012 Graeme Smecher <graeme.smecher@mail.mcgill.ca>
- *
- * Jansson is free software; you can redistribute it and/or modify
- * it under the terms of the MIT license. See LICENSE for details.
- */
-
-#ifdef HAVE_CONFIG_H
-#include <jansson_private_config.h>
-#endif
-
-#include <jansson_config.h>
-
-#include "util.h"
-#include <jansson.h>
-#include <math.h>
-#include <stdio.h>
-#include <string.h>
-
-#ifdef INFINITY
-// This test triggers "warning C4756: overflow in constant arithmetic"
-// in Visual Studio. This warning is triggered here by design, so disable it.
-// (This can only be done on function level so we keep these tests separate)
-#ifdef _MSC_VER
-#pragma warning(push)
-#pragma warning(disable : 4756)
-#endif
-static void test_inifity() {
- json_error_t error;
-
- if (json_pack_ex(&error, 0, "f", INFINITY))
- fail("json_pack infinity incorrectly succeeded");
- check_error(json_error_numeric_overflow, "Invalid floating point value", "<args>", 1,
- 1, 1);
-
- if (json_pack_ex(&error, 0, "[f]", INFINITY))
- fail("json_pack infinity array element incorrectly succeeded");
- check_error(json_error_numeric_overflow, "Invalid floating point value", "<args>", 1,
- 2, 2);
-
- if (json_pack_ex(&error, 0, "{s:f}", "key", INFINITY))
- fail("json_pack infinity object value incorrectly succeeded");
- check_error(json_error_numeric_overflow, "Invalid floating point value", "<args>", 1,
- 4, 4);
-
-#ifdef _MSC_VER
-#pragma warning(pop)
-#endif
-}
-#endif // INFINITY
-
-static void run_tests() {
- json_t *value;
- int i;
- char buffer[4] = {'t', 'e', 's', 't'};
- json_error_t error;
-
- /*
- * Simple, valid json_pack cases
- */
- /* true */
- value = json_pack("b", 1);
- if (!json_is_true(value))
- fail("json_pack boolean failed");
- if (value->refcount != (size_t)-1)
- fail("json_pack boolean refcount failed");
- json_decref(value);
-
- /* false */
- value = json_pack("b", 0);
- if (!json_is_false(value))
- fail("json_pack boolean failed");
- if (value->refcount != (size_t)-1)
- fail("json_pack boolean refcount failed");
- json_decref(value);
-
- /* null */
- value = json_pack("n");
- if (!json_is_null(value))
- fail("json_pack null failed");
- if (value->refcount != (size_t)-1)
- fail("json_pack null refcount failed");
- json_decref(value);
-
- /* integer */
- value = json_pack("i", 1);
- if (!json_is_integer(value) || json_integer_value(value) != 1)
- fail("json_pack integer failed");
- if (value->refcount != (size_t)1)
- fail("json_pack integer refcount failed");
- json_decref(value);
-
- /* integer from json_int_t */
- value = json_pack("I", (json_int_t)555555);
- if (!json_is_integer(value) || json_integer_value(value) != 555555)
- fail("json_pack json_int_t failed");
- if (value->refcount != (size_t)1)
- fail("json_pack integer refcount failed");
- json_decref(value);
-
- /* real */
- value = json_pack("f", 1.0);
- if (!json_is_real(value) || json_real_value(value) != 1.0)
- fail("json_pack real failed");
- if (value->refcount != (size_t)1)
- fail("json_pack real refcount failed");
- json_decref(value);
-
- /* string */
- value = json_pack("s", "test");
- if (!json_is_string(value) || strcmp("test", json_string_value(value)))
- fail("json_pack string failed");
- if (value->refcount != (size_t)1)
- fail("json_pack string refcount failed");
- json_decref(value);
-
- /* nullable string (defined case) */
- value = json_pack("s?", "test");
- if (!json_is_string(value) || strcmp("test", json_string_value(value)))
- fail("json_pack nullable string (defined case) failed");
- if (value->refcount != (size_t)1)
- fail("json_pack nullable string (defined case) refcount failed");
- json_decref(value);
-
- /* nullable string (NULL case) */
- value = json_pack("s?", NULL);
- if (!json_is_null(value))
- fail("json_pack nullable string (NULL case) failed");
- if (value->refcount != (size_t)-1)
- fail("json_pack nullable string (NULL case) refcount failed");
- json_decref(value);
-
- /* nullable string concatenation */
- if (json_pack_ex(&error, 0, "s?+", "test", "ing"))
- fail("json_pack failed to catch invalid format 's?+'");
- check_error(json_error_invalid_format, "Cannot use '+' on optional strings",
- "<format>", 1, 2, 2);
-
- /* nullable string with integer length */
- if (json_pack_ex(&error, 0, "s?#", "test", 4))
- fail("json_pack failed to catch invalid format 's?#'");
- check_error(json_error_invalid_format, "Cannot use '#' on optional strings",
- "<format>", 1, 2, 2);
-
- /* string and length (int) */
- value = json_pack("s#", "test asdf", 4);
- if (!json_is_string(value) || strcmp("test", json_string_value(value)))
- fail("json_pack string and length failed");
- if (value->refcount != (size_t)1)
- fail("json_pack string and length refcount failed");
- json_decref(value);
-
- /* string and length (size_t) */
- value = json_pack("s%", "test asdf", (size_t)4);
- if (!json_is_string(value) || strcmp("test", json_string_value(value)))
- fail("json_pack string and length failed");
- if (value->refcount != (size_t)1)
- fail("json_pack string and length refcount failed");
- json_decref(value);
-
- /* string and length (int), non-NUL terminated string */
- value = json_pack("s#", buffer, 4);
- if (!json_is_string(value) || strcmp("test", json_string_value(value)))
- fail("json_pack string and length (int) failed");
- if (value->refcount != (size_t)1)
- fail("json_pack string and length (int) refcount failed");
- json_decref(value);
-
- /* string and length (size_t), non-NUL terminated string */
- value = json_pack("s%", buffer, (size_t)4);
- if (!json_is_string(value) || strcmp("test", json_string_value(value)))
- fail("json_pack string and length (size_t) failed");
- if (value->refcount != (size_t)1)
- fail("json_pack string and length (size_t) refcount failed");
- json_decref(value);
-
- /* string concatenation */
- if (json_pack("s+", "test", NULL))
- fail("json_pack string concatenation succeeded with NULL string");
-
- value = json_pack("s++", "te", "st", "ing");
- if (!json_is_string(value) || strcmp("testing", json_string_value(value)))
- fail("json_pack string concatenation failed");
- if (value->refcount != (size_t)1)
- fail("json_pack string concatenation refcount failed");
- json_decref(value);
-
- /* string concatenation and length (int) */
- value = json_pack("s#+#+", "test", 1, "test", 2, "test");
- if (!json_is_string(value) || strcmp("ttetest", json_string_value(value)))
- fail("json_pack string concatenation and length (int) failed");
- if (value->refcount != (size_t)1)
- fail("json_pack string concatenation and length (int) refcount failed");
- json_decref(value);
-
- /* string concatenation and length (size_t) */
- value = json_pack("s%+%+", "test", (size_t)1, "test", (size_t)2, "test");
- if (!json_is_string(value) || strcmp("ttetest", json_string_value(value)))
- fail("json_pack string concatenation and length (size_t) failed");
- if (value->refcount != (size_t)1)
- fail("json_pack string concatenation and length (size_t) refcount "
- "failed");
- json_decref(value);
-
- /* empty object */
- value = json_pack("{}", 1.0);
- if (!json_is_object(value) || json_object_size(value) != 0)
- fail("json_pack empty object failed");
- if (value->refcount != (size_t)1)
- fail("json_pack empty object refcount failed");
- json_decref(value);
-
- /* empty list */
- value = json_pack("[]", 1.0);
- if (!json_is_array(value) || json_array_size(value) != 0)
- fail("json_pack empty list failed");
- if (value->refcount != (size_t)1)
- fail("json_pack empty list failed");
- json_decref(value);
-
- /* non-incref'd object */
- value = json_pack("o", json_integer(1));
- if (!json_is_integer(value) || json_integer_value(value) != 1)
- fail("json_pack object failed");
- if (value->refcount != (size_t)1)
- fail("json_pack integer refcount failed");
- json_decref(value);
-
- /* non-incref'd nullable object (defined case) */
- value = json_pack("o?", json_integer(1));
- if (!json_is_integer(value) || json_integer_value(value) != 1)
- fail("json_pack nullable object (defined case) failed");
- if (value->refcount != (size_t)1)
- fail("json_pack nullable object (defined case) refcount failed");
- json_decref(value);
-
- /* non-incref'd nullable object (NULL case) */
- value = json_pack("o?", NULL);
- if (!json_is_null(value))
- fail("json_pack nullable object (NULL case) failed");
- if (value->refcount != (size_t)-1)
- fail("json_pack nullable object (NULL case) refcount failed");
- json_decref(value);
-
- /* incref'd object */
- value = json_pack("O", json_integer(1));
- if (!json_is_integer(value) || json_integer_value(value) != 1)
- fail("json_pack object failed");
- if (value->refcount != (size_t)2)
- fail("json_pack integer refcount failed");
- json_decref(value);
- json_decref(value);
-
- /* incref'd nullable object (defined case) */
- value = json_pack("O?", json_integer(1));
- if (!json_is_integer(value) || json_integer_value(value) != 1)
- fail("json_pack incref'd nullable object (defined case) failed");
- if (value->refcount != (size_t)2)
- fail("json_pack incref'd nullable object (defined case) refcount "
- "failed");
- json_decref(value);
- json_decref(value);
-
- /* incref'd nullable object (NULL case) */
- value = json_pack("O?", NULL);
- if (!json_is_null(value))
- fail("json_pack incref'd nullable object (NULL case) failed");
- if (value->refcount != (size_t)-1)
- fail("json_pack incref'd nullable object (NULL case) refcount failed");
-
- /* simple object */
- value = json_pack("{s:[]}", "foo");
- if (!json_is_object(value) || json_object_size(value) != 1)
- fail("json_pack array failed");
- if (!json_is_array(json_object_get(value, "foo")))
- fail("json_pack array failed");
- if (json_object_get(value, "foo")->refcount != (size_t)1)
- fail("json_pack object refcount failed");
- json_decref(value);
-
- /* object with complex key */
- value = json_pack("{s+#+: []}", "foo", "barbar", 3, "baz");
- if (!json_is_object(value) || json_object_size(value) != 1)
- fail("json_pack array failed");
- if (!json_is_array(json_object_get(value, "foobarbaz")))
- fail("json_pack array failed");
- if (json_object_get(value, "foobarbaz")->refcount != (size_t)1)
- fail("json_pack object refcount failed");
- json_decref(value);
-
- /* object with optional members */
- value = json_pack("{s:s,s:o,s:O}", "a", NULL, "b", NULL, "c", NULL);
- if (value)
- fail("json_pack object optional incorrectly succeeded");
-
- value = json_pack("{s:**}", "a", NULL);
- if (value)
- fail("json_pack object optional invalid incorrectly succeeded");
-
- if (json_pack_ex(&error, 0, "{s:i*}", "a", 1))
- fail("json_pack object optional invalid incorrectly succeeded");
- check_error(json_error_invalid_format, "Expected format 's', got '*'", "<format>", 1,
- 5, 5);
-
- value = json_pack("{s:s*,s:o*,s:O*}", "a", NULL, "b", NULL, "c", NULL);
- if (!json_is_object(value) || json_object_size(value) != 0)
- fail("json_pack object optional failed");
- json_decref(value);
-
- value = json_pack("{s:s*}", "key", "\xff\xff");
- if (value)
- fail("json_pack object optional with invalid UTF-8 incorrectly "
- "succeeded");
-
- if (json_pack_ex(&error, 0, "{s: s*#}", "key", "test", 1))
- fail("json_pack failed to catch invalid format 's*#'");
- check_error(json_error_invalid_format, "Cannot use '#' on optional strings",
- "<format>", 1, 6, 6);
-
- if (json_pack_ex(&error, 0, "{s: s*+}", "key", "test", "ing"))
- fail("json_pack failed to catch invalid format 's*+'");
- check_error(json_error_invalid_format, "Cannot use '+' on optional strings",
- "<format>", 1, 6, 6);
-
- /* simple array */
- value = json_pack("[i,i,i]", 0, 1, 2);
- if (!json_is_array(value) || json_array_size(value) != 3)
- fail("json_pack object failed");
- for (i = 0; i < 3; i++) {
- if (!json_is_integer(json_array_get(value, i)) ||
- json_integer_value(json_array_get(value, i)) != i)
-
- fail("json_pack integer array failed");
- }
- json_decref(value);
-
- /* simple array with optional members */
- value = json_pack("[s,o,O]", NULL, NULL, NULL);
- if (value)
- fail("json_pack array optional incorrectly succeeded");
-
- if (json_pack_ex(&error, 0, "[i*]", 1))
- fail("json_pack array optional invalid incorrectly succeeded");
- check_error(json_error_invalid_format, "Unexpected format character '*'", "<format>",
- 1, 3, 3);
-
- value = json_pack("[**]", NULL);
- if (value)
- fail("json_pack array optional invalid incorrectly succeeded");
- value = json_pack("[s*,o*,O*]", NULL, NULL, NULL);
- if (!json_is_array(value) || json_array_size(value) != 0)
- fail("json_pack array optional failed");
- json_decref(value);
-
-#ifdef NAN
- /* Invalid float values */
- if (json_pack_ex(&error, 0, "f", NAN))
- fail("json_pack NAN incorrectly succeeded");
- check_error(json_error_numeric_overflow, "Invalid floating point value", "<args>", 1,
- 1, 1);
-
- if (json_pack_ex(&error, 0, "[f]", NAN))
- fail("json_pack NAN array element incorrectly succeeded");
- check_error(json_error_numeric_overflow, "Invalid floating point value", "<args>", 1,
- 2, 2);
-
- if (json_pack_ex(&error, 0, "{s:f}", "key", NAN))
- fail("json_pack NAN object value incorrectly succeeded");
- check_error(json_error_numeric_overflow, "Invalid floating point value", "<args>", 1,
- 4, 4);
-#endif
-
-#ifdef INFINITY
- test_inifity();
-#endif
-
- /* Whitespace; regular string */
- value = json_pack(" s\t ", "test");
- if (!json_is_string(value) || strcmp("test", json_string_value(value)))
- fail("json_pack string (with whitespace) failed");
- json_decref(value);
-
- /* Whitespace; empty array */
- value = json_pack("[ ]");
- if (!json_is_array(value) || json_array_size(value) != 0)
- fail("json_pack empty array (with whitespace) failed");
- json_decref(value);
-
- /* Whitespace; array */
- value = json_pack("[ i , i, i ] ", 1, 2, 3);
- if (!json_is_array(value) || json_array_size(value) != 3)
- fail("json_pack array (with whitespace) failed");
- json_decref(value);
-
- /*
- * Invalid cases
- */
-
- /* newline in format string */
- if (json_pack_ex(&error, 0, "{\n\n1"))
- fail("json_pack failed to catch invalid format '1'");
- check_error(json_error_invalid_format, "Expected format 's', got '1'", "<format>", 3,
- 1, 4);
-
- /* mismatched open/close array/object */
- if (json_pack_ex(&error, 0, "[}"))
- fail("json_pack failed to catch mismatched '}'");
- check_error(json_error_invalid_format, "Unexpected format character '}'", "<format>",
- 1, 2, 2);
-
- if (json_pack_ex(&error, 0, "{]"))
- fail("json_pack failed to catch mismatched ']'");
- check_error(json_error_invalid_format, "Expected format 's', got ']'", "<format>", 1,
- 2, 2);
-
- /* missing close array */
- if (json_pack_ex(&error, 0, "["))
- fail("json_pack failed to catch missing ']'");
- check_error(json_error_invalid_format, "Unexpected end of format string", "<format>",
- 1, 2, 2);
-
- /* missing close object */
- if (json_pack_ex(&error, 0, "{"))
- fail("json_pack failed to catch missing '}'");
- check_error(json_error_invalid_format, "Unexpected end of format string", "<format>",
- 1, 2, 2);
-
- /* garbage after format string */
- if (json_pack_ex(&error, 0, "[i]a", 42))
- fail("json_pack failed to catch garbage after format string");
- check_error(json_error_invalid_format, "Garbage after format string", "<format>", 1,
- 4, 4);
-
- if (json_pack_ex(&error, 0, "ia", 42))
- fail("json_pack failed to catch garbage after format string");
- check_error(json_error_invalid_format, "Garbage after format string", "<format>", 1,
- 2, 2);
-
- /* NULL string */
- if (json_pack_ex(&error, 0, "s", NULL))
- fail("json_pack failed to catch null argument string");
- check_error(json_error_null_value, "NULL string", "<args>", 1, 1, 1);
-
- /* + on its own */
- if (json_pack_ex(&error, 0, "+", NULL))
- fail("json_pack failed to a lone +");
- check_error(json_error_invalid_format, "Unexpected format character '+'", "<format>",
- 1, 1, 1);
-
- /* Empty format */
- if (json_pack_ex(&error, 0, ""))
- fail("json_pack failed to catch empty format string");
- check_error(json_error_invalid_argument, "NULL or empty format string", "<format>",
- -1, -1, 0);
-
- /* NULL format */
- if (json_pack_ex(&error, 0, NULL))
- fail("json_pack failed to catch NULL format string");
- check_error(json_error_invalid_argument, "NULL or empty format string", "<format>",
- -1, -1, 0);
-
- /* NULL key */
- if (json_pack_ex(&error, 0, "{s:i}", NULL, 1))
- fail("json_pack failed to catch NULL key");
- check_error(json_error_null_value, "NULL object key", "<args>", 1, 2, 2);
-
- /* NULL value followed by object still steals the object's ref */
- value = json_incref(json_object());
- if (json_pack_ex(&error, 0, "{s:s,s:o}", "badnull", NULL, "dontleak", value))
- fail("json_pack failed to catch NULL value");
- check_error(json_error_null_value, "NULL string", "<args>", 1, 4, 4);
- if (value->refcount != (size_t)1)
- fail("json_pack failed to steal reference after error.");
- json_decref(value);
-
- /* More complicated checks for row/columns */
- if (json_pack_ex(&error, 0, "{ {}: s }", "foo"))
- fail("json_pack failed to catch object as key");
- check_error(json_error_invalid_format, "Expected format 's', got '{'", "<format>", 1,
- 3, 3);
-
- /* Complex object */
- if (json_pack_ex(&error, 0, "{ s: {}, s:[ii{} }", "foo", "bar", 12, 13))
- fail("json_pack failed to catch missing ]");
- check_error(json_error_invalid_format, "Unexpected format character '}'", "<format>",
- 1, 19, 19);
-
- /* Complex array */
- if (json_pack_ex(&error, 0, "[[[[[ [[[[[ [[[[ }]]]] ]]]] ]]]]]"))
- fail("json_pack failed to catch extra }");
- check_error(json_error_invalid_format, "Unexpected format character '}'", "<format>",
- 1, 21, 21);
-
- /* Invalid UTF-8 in object key */
- if (json_pack_ex(&error, 0, "{s:i}", "\xff\xff", 42))
- fail("json_pack failed to catch invalid UTF-8 in an object key");
- check_error(json_error_invalid_utf8, "Invalid UTF-8 object key", "<args>", 1, 2, 2);
-
- /* Invalid UTF-8 in a string */
- if (json_pack_ex(&error, 0, "{s:s}", "foo", "\xff\xff"))
- fail("json_pack failed to catch invalid UTF-8 in a string");
- check_error(json_error_invalid_utf8, "Invalid UTF-8 string", "<args>", 1, 4, 4);
-
- /* Invalid UTF-8 in an optional '?' string */
- if (json_pack_ex(&error, 0, "{s:s?}", "foo", "\xff\xff"))
- fail("json_pack failed to catch invalid UTF-8 in an optional '?' "
- "string");
- check_error(json_error_invalid_utf8, "Invalid UTF-8 string", "<args>", 1, 5, 5);
-
- /* Invalid UTF-8 in an optional '*' string */
- if (json_pack_ex(&error, 0, "{s:s*}", "foo", "\xff\xff"))
- fail("json_pack failed to catch invalid UTF-8 in an optional '*' "
- "string");
- check_error(json_error_invalid_utf8, "Invalid UTF-8 string", "<args>", 1, 5, 5);
-
- /* Invalid UTF-8 in a concatenated key */
- if (json_pack_ex(&error, 0, "{s+:i}", "\xff\xff", "concat", 42))
- fail("json_pack failed to catch invalid UTF-8 in an object key");
- check_error(json_error_invalid_utf8, "Invalid UTF-8 object key", "<args>", 1, 3, 3);
-
- if (json_pack_ex(&error, 0, "{s:o}", "foo", NULL))
- fail("json_pack failed to catch nullable object");
- check_error(json_error_null_value, "NULL object", "<args>", 1, 4, 4);
-
- if (json_pack_ex(&error, 0, "{s:O}", "foo", NULL))
- fail("json_pack failed to catch nullable incref object");
- check_error(json_error_null_value, "NULL object", "<args>", 1, 4, 4);
-
- if (json_pack_ex(&error, 0, "{s+:o}", "foo", "bar", NULL))
- fail("json_pack failed to catch non-nullable object value");
- check_error(json_error_null_value, "NULL object", "<args>", 1, 5, 5);
-
- if (json_pack_ex(&error, 0, "[1s", "Hi"))
- fail("json_pack failed to catch invalid format");
- check_error(json_error_invalid_format, "Unexpected format character '1'", "<format>",
- 1, 2, 2);
-
- if (json_pack_ex(&error, 0, "[1s+", "Hi", "ya"))
- fail("json_pack failed to catch invalid format");
- check_error(json_error_invalid_format, "Unexpected format character '1'", "<format>",
- 1, 2, 2);
-
- if (json_pack_ex(&error, 0, "[so]", NULL, json_object()))
- fail("json_pack failed to catch NULL value");
- check_error(json_error_null_value, "NULL string", "<args>", 1, 2, 2);
-}
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_simple.c b/fluent-bit/lib/jansson-e23f558/test/suites/api/test_simple.c
deleted file mode 100644
index 7a3f6b7bf..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_simple.c
+++ /dev/null
@@ -1,287 +0,0 @@
-/*
- * Copyright (c) 2009-2016 Petri Lehtinen <petri@digip.org>
- *
- * Jansson is free software; you can redistribute it and/or modify
- * it under the terms of the MIT license. See LICENSE for details.
- */
-
-#include "util.h"
-#include <jansson.h>
-#include <string.h>
-
-static void test_bad_args(void) {
- json_t *num = json_integer(1);
- json_t *txt = json_string("test");
-
- if (!num || !txt)
- fail("failed to allocate test objects");
-
- if (json_string_nocheck(NULL) != NULL)
- fail("json_string_nocheck with NULL argument did not return NULL");
- if (json_stringn_nocheck(NULL, 0) != NULL)
- fail("json_stringn_nocheck with NULL argument did not return NULL");
- if (json_string(NULL) != NULL)
- fail("json_string with NULL argument did not return NULL");
- if (json_stringn(NULL, 0) != NULL)
- fail("json_stringn with NULL argument did not return NULL");
-
- if (json_string_length(NULL) != 0)
- fail("json_string_length with non-string argument did not return 0");
- if (json_string_length(num) != 0)
- fail("json_string_length with non-string argument did not return 0");
-
- if (json_string_value(NULL) != NULL)
- fail("json_string_value with non-string argument did not return NULL");
- if (json_string_value(num) != NULL)
- fail("json_string_value with non-string argument did not return NULL");
-
- if (!json_string_setn_nocheck(NULL, "", 0))
- fail("json_string_setn with non-string argument did not return error");
- if (!json_string_setn_nocheck(num, "", 0))
- fail("json_string_setn with non-string argument did not return error");
- if (!json_string_setn_nocheck(txt, NULL, 0))
- fail("json_string_setn_nocheck with NULL value did not return error");
-
- if (!json_string_set_nocheck(txt, NULL))
- fail("json_string_set_nocheck with NULL value did not return error");
- if (!json_string_set(txt, NULL))
- fail("json_string_set with NULL value did not return error");
- if (!json_string_setn(txt, NULL, 0))
- fail("json_string_setn with NULL value did not return error");
-
- if (num->refcount != 1)
- fail("unexpected reference count for num");
- if (txt->refcount != 1)
- fail("unexpected reference count for txt");
-
- json_decref(num);
- json_decref(txt);
-}
-
-/* Call the simple functions not covered by other tests of the public API */
-static void run_tests() {
- json_t *value;
-
- value = json_boolean(1);
- if (!json_is_true(value))
- fail("json_boolean(1) failed");
- json_decref(value);
-
- value = json_boolean(-123);
- if (!json_is_true(value))
- fail("json_boolean(-123) failed");
- json_decref(value);
-
- value = json_boolean(0);
- if (!json_is_false(value))
- fail("json_boolean(0) failed");
- if (json_boolean_value(value) != 0)
- fail("json_boolean_value failed");
- json_decref(value);
-
- value = json_integer(1);
- if (json_typeof(value) != JSON_INTEGER)
- fail("json_typeof failed");
-
- if (json_is_object(value))
- fail("json_is_object failed");
-
- if (json_is_array(value))
- fail("json_is_array failed");
-
- if (json_is_string(value))
- fail("json_is_string failed");
-
- if (!json_is_integer(value))
- fail("json_is_integer failed");
-
- if (json_is_real(value))
- fail("json_is_real failed");
-
- if (!json_is_number(value))
- fail("json_is_number failed");
-
- if (json_is_true(value))
- fail("json_is_true failed");
-
- if (json_is_false(value))
- fail("json_is_false failed");
-
- if (json_is_boolean(value))
- fail("json_is_boolean failed");
-
- if (json_is_null(value))
- fail("json_is_null failed");
-
- json_decref(value);
-
- value = json_string("foo");
- if (!value)
- fail("json_string failed");
- if (strcmp(json_string_value(value), "foo"))
- fail("invalid string value");
- if (json_string_length(value) != 3)
- fail("invalid string length");
-
- if (json_string_set(value, "barr"))
- fail("json_string_set failed");
- if (strcmp(json_string_value(value), "barr"))
- fail("invalid string value");
- if (json_string_length(value) != 4)
- fail("invalid string length");
-
- if (json_string_setn(value, "hi\0ho", 5))
- fail("json_string_set failed");
- if (memcmp(json_string_value(value), "hi\0ho\0", 6))
- fail("invalid string value");
- if (json_string_length(value) != 5)
- fail("invalid string length");
-
- json_decref(value);
-
- value = json_string(NULL);
- if (value)
- fail("json_string(NULL) failed");
-
- /* invalid UTF-8 */
- value = json_string("a\xefz");
- if (value)
- fail("json_string(<invalid utf-8>) failed");
-
- value = json_string_nocheck("foo");
- if (!value)
- fail("json_string_nocheck failed");
- if (strcmp(json_string_value(value), "foo"))
- fail("invalid string value");
- if (json_string_length(value) != 3)
- fail("invalid string length");
-
- if (json_string_set_nocheck(value, "barr"))
- fail("json_string_set_nocheck failed");
- if (strcmp(json_string_value(value), "barr"))
- fail("invalid string value");
- if (json_string_length(value) != 4)
- fail("invalid string length");
-
- if (json_string_setn_nocheck(value, "hi\0ho", 5))
- fail("json_string_set failed");
- if (memcmp(json_string_value(value), "hi\0ho\0", 6))
- fail("invalid string value");
- if (json_string_length(value) != 5)
- fail("invalid string length");
-
- json_decref(value);
-
- /* invalid UTF-8 */
- value = json_string_nocheck("qu\xff");
- if (!value)
- fail("json_string_nocheck failed");
- if (strcmp(json_string_value(value), "qu\xff"))
- fail("invalid string value");
- if (json_string_length(value) != 3)
- fail("invalid string length");
-
- if (json_string_set_nocheck(value, "\xfd\xfe\xff"))
- fail("json_string_set_nocheck failed");
- if (strcmp(json_string_value(value), "\xfd\xfe\xff"))
- fail("invalid string value");
- if (json_string_length(value) != 3)
- fail("invalid string length");
-
- json_decref(value);
-
- value = json_integer(123);
- if (!value)
- fail("json_integer failed");
- if (json_integer_value(value) != 123)
- fail("invalid integer value");
- if (json_number_value(value) != 123.0)
- fail("invalid number value");
-
- if (json_integer_set(value, 321))
- fail("json_integer_set failed");
- if (json_integer_value(value) != 321)
- fail("invalid integer value");
- if (json_number_value(value) != 321.0)
- fail("invalid number value");
-
- json_decref(value);
-
- value = json_real(123.123);
- if (!value)
- fail("json_real failed");
- if (json_real_value(value) != 123.123)
- fail("invalid integer value");
- if (json_number_value(value) != 123.123)
- fail("invalid number value");
-
- if (json_real_set(value, 321.321))
- fail("json_real_set failed");
- if (json_real_value(value) != 321.321)
- fail("invalid real value");
- if (json_number_value(value) != 321.321)
- fail("invalid number value");
-
- json_decref(value);
-
- value = json_true();
- if (!value)
- fail("json_true failed");
- json_decref(value);
-
- value = json_false();
- if (!value)
- fail("json_false failed");
- json_decref(value);
-
- value = json_null();
- if (!value)
- fail("json_null failed");
- json_decref(value);
-
- /* Test reference counting on singletons (true, false, null) */
- value = json_true();
- if (value->refcount != (size_t)-1)
- fail("refcounting true works incorrectly");
- json_decref(value);
- if (value->refcount != (size_t)-1)
- fail("refcounting true works incorrectly");
- json_incref(value);
- if (value->refcount != (size_t)-1)
- fail("refcounting true works incorrectly");
-
- value = json_false();
- if (value->refcount != (size_t)-1)
- fail("refcounting false works incorrectly");
- json_decref(value);
- if (value->refcount != (size_t)-1)
- fail("refcounting false works incorrectly");
- json_incref(value);
- if (value->refcount != (size_t)-1)
- fail("refcounting false works incorrectly");
-
- value = json_null();
- if (value->refcount != (size_t)-1)
- fail("refcounting null works incorrectly");
- json_decref(value);
- if (value->refcount != (size_t)-1)
- fail("refcounting null works incorrectly");
- json_incref(value);
- if (value->refcount != (size_t)-1)
- fail("refcounting null works incorrectly");
-
-#ifdef json_auto_t
- value = json_string("foo");
- {
- json_auto_t *test = json_incref(value);
- /* Use test so GCC doesn't complain it is unused. */
- if (!json_is_string(test))
- fail("value type check failed");
- }
- if (value->refcount != 1)
- fail("automatic decrement failed");
- json_decref(value);
-#endif
-
- test_bad_args();
-}
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_sprintf.c b/fluent-bit/lib/jansson-e23f558/test/suites/api/test_sprintf.c
deleted file mode 100644
index 60a0b601d..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_sprintf.c
+++ /dev/null
@@ -1,29 +0,0 @@
-#include "util.h"
-#include <jansson.h>
-#include <string.h>
-
-static void test_sprintf() {
- json_t *s = json_sprintf("foo bar %d", 42);
- if (!s)
- fail("json_sprintf returned NULL");
- if (!json_is_string(s))
- fail("json_sprintf didn't return a JSON string");
- if (strcmp(json_string_value(s), "foo bar 42"))
- fail("json_sprintf generated an unexpected string");
-
- json_decref(s);
-
- s = json_sprintf("%s", "");
- if (!s)
- fail("json_sprintf returned NULL");
- if (!json_is_string(s))
- fail("json_sprintf didn't return a JSON string");
- if (json_string_length(s) != 0)
- fail("string is not empty");
- json_decref(s);
-
- if (json_sprintf("%s", "\xff\xff"))
- fail("json_sprintf unexpected success with invalid UTF");
-}
-
-static void run_tests() { test_sprintf(); }
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_unpack.c b/fluent-bit/lib/jansson-e23f558/test/suites/api/test_unpack.c
deleted file mode 100644
index 139ec6f7b..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_unpack.c
+++ /dev/null
@@ -1,431 +0,0 @@
-/*
- * Copyright (c) 2009-2016 Petri Lehtinen <petri@digip.org>
- * Copyright (c) 2010-2012 Graeme Smecher <graeme.smecher@mail.mcgill.ca>
- *
- * Jansson is free software; you can redistribute it and/or modify
- * it under the terms of the MIT license. See LICENSE for details.
- */
-
-#include "util.h"
-#include <jansson.h>
-#include <stdio.h>
-#include <string.h>
-
-static void run_tests() {
- json_t *j, *j2;
- int i1, i2, i3;
- json_int_t I1;
- int rv;
- size_t z;
- double f;
- char *s;
-
- json_error_t error;
-
- /*
- * Simple, valid json_pack cases
- */
-
- /* true */
- rv = json_unpack(json_true(), "b", &i1);
- if (rv || !i1)
- fail("json_unpack boolean failed");
-
- /* false */
- rv = json_unpack(json_false(), "b", &i1);
- if (rv || i1)
- fail("json_unpack boolean failed");
-
- /* null */
- if (json_unpack(json_null(), "n"))
- fail("json_unpack null failed");
-
- /* integer */
- j = json_integer(42);
- rv = json_unpack(j, "i", &i1);
- if (rv || i1 != 42)
- fail("json_unpack integer failed");
- json_decref(j);
-
- /* json_int_t */
- j = json_integer(5555555);
- rv = json_unpack(j, "I", &I1);
- if (rv || I1 != 5555555)
- fail("json_unpack json_int_t failed");
- json_decref(j);
-
- /* real */
- j = json_real(1.7);
- rv = json_unpack(j, "f", &f);
- if (rv || f != 1.7)
- fail("json_unpack real failed");
- json_decref(j);
-
- /* number */
- j = json_integer(12345);
- rv = json_unpack(j, "F", &f);
- if (rv || f != 12345.0)
- fail("json_unpack (real or) integer failed");
- json_decref(j);
-
- j = json_real(1.7);
- rv = json_unpack(j, "F", &f);
- if (rv || f != 1.7)
- fail("json_unpack real (or integer) failed");
- json_decref(j);
-
- /* string */
- j = json_string("foo");
- rv = json_unpack(j, "s", &s);
- if (rv || strcmp(s, "foo"))
- fail("json_unpack string failed");
- json_decref(j);
-
- /* string with length (size_t) */
- j = json_string("foo");
- rv = json_unpack(j, "s%", &s, &z);
- if (rv || strcmp(s, "foo") || z != 3)
- fail("json_unpack string with length (size_t) failed");
- json_decref(j);
-
- /* empty object */
- j = json_object();
- if (json_unpack(j, "{}"))
- fail("json_unpack empty object failed");
- json_decref(j);
-
- /* empty list */
- j = json_array();
- if (json_unpack(j, "[]"))
- fail("json_unpack empty list failed");
- json_decref(j);
-
- /* non-incref'd object */
- j = json_object();
- rv = json_unpack(j, "o", &j2);
- if (rv || j2 != j || j->refcount != 1)
- fail("json_unpack object failed");
- json_decref(j);
-
- /* incref'd object */
- j = json_object();
- rv = json_unpack(j, "O", &j2);
- if (rv || j2 != j || j->refcount != 2)
- fail("json_unpack object failed");
- json_decref(j);
- json_decref(j);
-
- /* simple object */
- j = json_pack("{s:i}", "foo", 42);
- rv = json_unpack(j, "{s:i}", "foo", &i1);
- if (rv || i1 != 42)
- fail("json_unpack simple object failed");
- json_decref(j);
-
- /* simple array */
- j = json_pack("[iii]", 1, 2, 3);
- rv = json_unpack(j, "[i,i,i]", &i1, &i2, &i3);
- if (rv || i1 != 1 || i2 != 2 || i3 != 3)
- fail("json_unpack simple array failed");
- json_decref(j);
-
- /* object with many items & strict checking */
- j = json_pack("{s:i, s:i, s:i}", "a", 1, "b", 2, "c", 3);
- rv = json_unpack(j, "{s:i, s:i, s:i}", "a", &i1, "b", &i2, "c", &i3);
- if (rv || i1 != 1 || i2 != 2 || i3 != 3)
- fail("json_unpack object with many items failed");
- json_decref(j);
-
- /*
- * Invalid cases
- */
-
- j = json_integer(42);
- if (!json_unpack_ex(j, &error, 0, "z"))
- fail("json_unpack succeeded with invalid format character");
- check_error(json_error_invalid_format, "Unexpected format character 'z'", "<format>",
- 1, 1, 1);
-
- if (!json_unpack_ex(NULL, &error, 0, "[i]"))
- fail("json_unpack succeeded with NULL root");
- check_error(json_error_null_value, "NULL root value", "<root>", -1, -1, 0);
- json_decref(j);
-
- /* mismatched open/close array/object */
- j = json_pack("[]");
- if (!json_unpack_ex(j, &error, 0, "[}"))
- fail("json_unpack failed to catch mismatched ']'");
- check_error(json_error_invalid_format, "Unexpected format character '}'", "<format>",
- 1, 2, 2);
- json_decref(j);
-
- j = json_pack("{}");
- if (!json_unpack_ex(j, &error, 0, "{]"))
- fail("json_unpack failed to catch mismatched '}'");
- check_error(json_error_invalid_format, "Expected format 's', got ']'", "<format>", 1,
- 2, 2);
- json_decref(j);
-
- /* missing close array */
- j = json_pack("[]");
- if (!json_unpack_ex(j, &error, 0, "["))
- fail("json_unpack failed to catch missing ']'");
- check_error(json_error_invalid_format, "Unexpected end of format string", "<format>",
- 1, 2, 2);
- json_decref(j);
-
- /* missing close object */
- j = json_pack("{}");
- if (!json_unpack_ex(j, &error, 0, "{"))
- fail("json_unpack failed to catch missing '}'");
- check_error(json_error_invalid_format, "Unexpected end of format string", "<format>",
- 1, 2, 2);
- json_decref(j);
-
- /* garbage after format string */
- j = json_pack("[i]", 42);
- if (!json_unpack_ex(j, &error, 0, "[i]a", &i1))
- fail("json_unpack failed to catch garbage after format string");
- check_error(json_error_invalid_format, "Garbage after format string", "<format>", 1,
- 4, 4);
- json_decref(j);
-
- j = json_integer(12345);
- if (!json_unpack_ex(j, &error, 0, "ia", &i1))
- fail("json_unpack failed to catch garbage after format string");
- check_error(json_error_invalid_format, "Garbage after format string", "<format>", 1,
- 2, 2);
- json_decref(j);
-
- /* NULL format string */
- j = json_pack("[]");
- if (!json_unpack_ex(j, &error, 0, NULL))
- fail("json_unpack failed to catch null format string");
- check_error(json_error_invalid_argument, "NULL or empty format string", "<format>",
- -1, -1, 0);
- json_decref(j);
-
- /* NULL string pointer */
- j = json_string("foobie");
- if (!json_unpack_ex(j, &error, 0, "s", NULL))
- fail("json_unpack failed to catch null string pointer");
- check_error(json_error_null_value, "NULL string argument", "<args>", 1, 1, 1);
- json_decref(j);
-
- /* invalid types */
- j = json_integer(42);
- j2 = json_string("foo");
- if (!json_unpack_ex(j, &error, 0, "s"))
- fail("json_unpack failed to catch invalid type");
- check_error(json_error_wrong_type, "Expected string, got integer", "<validation>", 1,
- 1, 1);
-
- if (!json_unpack_ex(j, &error, 0, "n"))
- fail("json_unpack failed to catch invalid type");
- check_error(json_error_wrong_type, "Expected null, got integer", "<validation>", 1, 1,
- 1);
-
- if (!json_unpack_ex(j, &error, 0, "b"))
- fail("json_unpack failed to catch invalid type");
- check_error(json_error_wrong_type, "Expected true or false, got integer",
- "<validation>", 1, 1, 1);
-
- if (!json_unpack_ex(j2, &error, 0, "i"))
- fail("json_unpack failed to catch invalid type");
- check_error(json_error_wrong_type, "Expected integer, got string", "<validation>", 1,
- 1, 1);
-
- if (!json_unpack_ex(j2, &error, 0, "I"))
- fail("json_unpack failed to catch invalid type");
- check_error(json_error_wrong_type, "Expected integer, got string", "<validation>", 1,
- 1, 1);
-
- if (!json_unpack_ex(j, &error, 0, "f"))
- fail("json_unpack failed to catch invalid type");
- check_error(json_error_wrong_type, "Expected real, got integer", "<validation>", 1, 1,
- 1);
-
- if (!json_unpack_ex(j2, &error, 0, "F"))
- fail("json_unpack failed to catch invalid type");
- check_error(json_error_wrong_type, "Expected real or integer, got string",
- "<validation>", 1, 1, 1);
-
- if (!json_unpack_ex(j, &error, 0, "[i]"))
- fail("json_unpack failed to catch invalid type");
- check_error(json_error_wrong_type, "Expected array, got integer", "<validation>", 1,
- 1, 1);
-
- if (!json_unpack_ex(j, &error, 0, "{si}", "foo"))
- fail("json_unpack failed to catch invalid type");
- check_error(json_error_wrong_type, "Expected object, got integer", "<validation>", 1,
- 1, 1);
-
- json_decref(j);
- json_decref(j2);
-
- /* Array index out of range */
- j = json_pack("[i]", 1);
- if (!json_unpack_ex(j, &error, 0, "[ii]", &i1, &i2))
- fail("json_unpack failed to catch index out of array bounds");
- check_error(json_error_index_out_of_range, "Array index 1 out of range",
- "<validation>", 1, 3, 3);
- json_decref(j);
-
- /* NULL object key */
- j = json_pack("{si}", "foo", 42);
- if (!json_unpack_ex(j, &error, 0, "{si}", NULL, &i1))
- fail("json_unpack failed to catch null string pointer");
- check_error(json_error_null_value, "NULL object key", "<args>", 1, 2, 2);
- json_decref(j);
-
- /* Object key not found */
- j = json_pack("{si}", "foo", 42);
- if (!json_unpack_ex(j, &error, 0, "{si}", "baz", &i1))
- fail("json_unpack failed to catch null string pointer");
- check_error(json_error_item_not_found, "Object item not found: baz", "<validation>",
- 1, 3, 3);
- json_decref(j);
-
- /*
- * Strict validation
- */
-
- j = json_pack("[iii]", 1, 2, 3);
- rv = json_unpack(j, "[iii!]", &i1, &i2, &i3);
- if (rv || i1 != 1 || i2 != 2 || i3 != 3)
- fail("json_unpack array with strict validation failed");
- json_decref(j);
-
- j = json_pack("[iii]", 1, 2, 3);
- if (!json_unpack_ex(j, &error, 0, "[ii!]", &i1, &i2))
- fail("json_unpack array with strict validation failed");
- check_error(json_error_end_of_input_expected, "1 array item(s) left unpacked",
- "<validation>", 1, 5, 5);
- json_decref(j);
-
- /* Like above, but with JSON_STRICT instead of '!' format */
- j = json_pack("[iii]", 1, 2, 3);
- if (!json_unpack_ex(j, &error, JSON_STRICT, "[ii]", &i1, &i2))
- fail("json_unpack array with strict validation failed");
- check_error(json_error_end_of_input_expected, "1 array item(s) left unpacked",
- "<validation>", 1, 4, 4);
- json_decref(j);
-
- j = json_pack("{s:s, s:i}", "foo", "bar", "baz", 42);
- rv = json_unpack(j, "{sssi!}", "foo", &s, "baz", &i1);
- if (rv || strcmp(s, "bar") != 0 || i1 != 42)
- fail("json_unpack object with strict validation failed");
- json_decref(j);
-
- /* Unpack the same item twice */
- j = json_pack("{s:s, s:i, s:b}", "foo", "bar", "baz", 42, "quux", 1);
- if (!json_unpack_ex(j, &error, 0, "{s:s,s:s!}", "foo", &s, "foo", &s))
- fail("json_unpack object with strict validation failed");
- {
- const char *possible_errors[] = {"2 object item(s) left unpacked: baz, quux",
- "2 object item(s) left unpacked: quux, baz"};
- check_errors(json_error_end_of_input_expected, possible_errors, 2, "<validation>",
- 1, 10, 10);
- }
- json_decref(j);
-
- j = json_pack("[i,{s:i,s:n},[i,i]]", 1, "foo", 2, "bar", 3, 4);
- if (json_unpack_ex(j, NULL, JSON_STRICT | JSON_VALIDATE_ONLY, "[i{sisn}[ii]]", "foo",
- "bar"))
- fail("json_unpack complex value with strict validation failed");
- json_decref(j);
-
- /* ! and * must be last */
- j = json_pack("[ii]", 1, 2);
- if (!json_unpack_ex(j, &error, 0, "[i!i]", &i1, &i2))
- fail("json_unpack failed to catch ! in the middle of an array");
- check_error(json_error_invalid_format, "Expected ']' after '!', got 'i'", "<format>",
- 1, 4, 4);
-
- if (!json_unpack_ex(j, &error, 0, "[i*i]", &i1, &i2))
- fail("json_unpack failed to catch * in the middle of an array");
- check_error(json_error_invalid_format, "Expected ']' after '*', got 'i'", "<format>",
- 1, 4, 4);
- json_decref(j);
-
- j = json_pack("{sssi}", "foo", "bar", "baz", 42);
- if (!json_unpack_ex(j, &error, 0, "{ss!si}", "foo", &s, "baz", &i1))
- fail("json_unpack failed to catch ! in the middle of an object");
- check_error(json_error_invalid_format, "Expected '}' after '!', got 's'", "<format>",
- 1, 5, 5);
-
- if (!json_unpack_ex(j, &error, 0, "{ss*si}", "foo", &s, "baz", &i1))
- fail("json_unpack failed to catch ! in the middle of an object");
- check_error(json_error_invalid_format, "Expected '}' after '*', got 's'", "<format>",
- 1, 5, 5);
- json_decref(j);
-
- /* Error in nested object */
- j = json_pack("{s{snsn}}", "foo", "bar", "baz");
- if (!json_unpack_ex(j, &error, 0, "{s{sn!}}", "foo", "bar"))
- fail("json_unpack nested object with strict validation failed");
- check_error(json_error_end_of_input_expected, "1 object item(s) left unpacked: baz",
- "<validation>", 1, 7, 7);
- json_decref(j);
-
- /* Error in nested array */
- j = json_pack("[[ii]]", 1, 2);
- if (!json_unpack_ex(j, &error, 0, "[[i!]]", &i1))
- fail("json_unpack nested array with strict validation failed");
- check_error(json_error_end_of_input_expected, "1 array item(s) left unpacked",
- "<validation>", 1, 5, 5);
- json_decref(j);
-
- /* Optional values */
- j = json_object();
- i1 = 0;
- if (json_unpack(j, "{s?i}", "foo", &i1))
- fail("json_unpack failed for optional key");
- if (i1 != 0)
- fail("json_unpack unpacked an optional key");
- json_decref(j);
-
- i1 = 0;
- j = json_pack("{si}", "foo", 42);
- if (json_unpack(j, "{s?i}", "foo", &i1))
- fail("json_unpack failed for an optional value");
- if (i1 != 42)
- fail("json_unpack failed to unpack an optional value");
- json_decref(j);
-
- j = json_object();
- i1 = i2 = i3 = 0;
- if (json_unpack(j, "{s?[ii]s?{s{si}}}", "foo", &i1, &i2, "bar", "baz", "quux", &i3))
- fail("json_unpack failed for complex optional values");
- if (i1 != 0 || i2 != 0 || i3 != 0)
- fail("json_unpack unexpectedly unpacked something");
- json_decref(j);
-
- j = json_pack("{s{si}}", "foo", "bar", 42);
- if (json_unpack(j, "{s?{s?i}}", "foo", "bar", &i1))
- fail("json_unpack failed for complex optional values");
- if (i1 != 42)
- fail("json_unpack failed to unpack");
- json_decref(j);
-
- /* Combine ? and ! */
- j = json_pack("{si}", "foo", 42);
- i1 = i2 = 0;
- if (json_unpack(j, "{sis?i!}", "foo", &i1, "bar", &i2))
- fail("json_unpack failed for optional values with strict mode");
- if (i1 != 42)
- fail("json_unpack failed to unpack");
- if (i2 != 0)
- fail("json_unpack failed to unpack");
- json_decref(j);
-
- /* But don't compensate a missing key with an optional one. */
- j = json_pack("{sisi}", "foo", 42, "baz", 43);
- i1 = i2 = i3 = 0;
- if (!json_unpack_ex(j, &error, 0, "{sis?i!}", "foo", &i1, "bar", &i2))
- fail("json_unpack failed for optional values with strict mode and "
- "compensation");
- check_error(json_error_end_of_input_expected, "1 object item(s) left unpacked: baz",
- "<validation>", 1, 8, 8);
- json_decref(j);
-}
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_version.c b/fluent-bit/lib/jansson-e23f558/test/suites/api/test_version.c
deleted file mode 100644
index 05e0e9614..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/api/test_version.c
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * Copyright (c) 2019 Sean Bright <sean.bright@gmail.com>
- *
- * Jansson is free software; you can redistribute it and/or modify
- * it under the terms of the MIT license. See LICENSE for details.
- */
-
-#include "util.h"
-#include <jansson.h>
-#include <string.h>
-
-static void test_version_str(void) {
- if (strcmp(jansson_version_str(), JANSSON_VERSION)) {
- fail("jansson_version_str returned invalid version string");
- }
-}
-
-static void test_version_cmp() {
- if (jansson_version_cmp(JANSSON_MAJOR_VERSION, JANSSON_MINOR_VERSION,
- JANSSON_MICRO_VERSION)) {
- fail("jansson_version_cmp equality check failed");
- }
-
- if (jansson_version_cmp(JANSSON_MAJOR_VERSION - 1, 0, 0) <= 0) {
- fail("jansson_version_cmp less than check failed");
- }
-
- if (JANSSON_MINOR_VERSION) {
- if (jansson_version_cmp(JANSSON_MAJOR_VERSION, JANSSON_MINOR_VERSION - 1,
- JANSSON_MICRO_VERSION) <= 0) {
- fail("jansson_version_cmp less than check failed");
- }
- }
-
- if (JANSSON_MICRO_VERSION) {
- if (jansson_version_cmp(JANSSON_MAJOR_VERSION, JANSSON_MINOR_VERSION,
- JANSSON_MICRO_VERSION - 1) <= 0) {
- fail("jansson_version_cmp less than check failed");
- }
- }
-
- if (jansson_version_cmp(JANSSON_MAJOR_VERSION + 1, JANSSON_MINOR_VERSION,
- JANSSON_MICRO_VERSION) >= 0) {
- fail("jansson_version_cmp greater than check failed");
- }
-
- if (jansson_version_cmp(JANSSON_MAJOR_VERSION, JANSSON_MINOR_VERSION + 1,
- JANSSON_MICRO_VERSION) >= 0) {
- fail("jansson_version_cmp greater than check failed");
- }
-
- if (jansson_version_cmp(JANSSON_MAJOR_VERSION, JANSSON_MINOR_VERSION,
- JANSSON_MICRO_VERSION + 1) >= 0) {
- fail("jansson_version_cmp greater than check failed");
- }
-}
-
-static void run_tests() {
- test_version_str();
- test_version_cmp();
-}
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/api/util.h b/fluent-bit/lib/jansson-e23f558/test/suites/api/util.h
deleted file mode 100644
index d964c4930..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/api/util.h
+++ /dev/null
@@ -1,93 +0,0 @@
-/*
- * Copyright (c) 2009-2016 Petri Lehtinen <petri@digip.org>
- *
- * Jansson is free software; you can redistribute it and/or modify
- * it under the terms of the MIT license. See LICENSE for details.
- */
-
-#ifndef UTIL_H
-#define UTIL_H
-
-#ifdef HAVE_CONFIG_H
-#include <jansson_private_config.h>
-#endif
-
-#include <stdio.h>
-#include <stdlib.h>
-#if HAVE_LOCALE_H
-#include <locale.h>
-#endif
-
-#include <jansson.h>
-
-#define failhdr fprintf(stderr, "%s:%d: ", __FILE__, __LINE__)
-
-#define fail(msg) \
- do { \
- failhdr; \
- fprintf(stderr, "%s\n", msg); \
- exit(1); \
- } while (0)
-
-/* Assumes json_error_t error */
-#define check_errors(code_, texts_, num_, source_, line_, column_, position_) \
- do { \
- int i_, found_ = 0; \
- if (json_error_code(&error) != code_) { \
- failhdr; \
- fprintf(stderr, "code: %d != %d\n", json_error_code(&error), code_); \
- exit(1); \
- } \
- for (i_ = 0; i_ < num_; i_++) { \
- if (strcmp(error.text, texts_[i_]) == 0) { \
- found_ = 1; \
- break; \
- } \
- } \
- if (!found_) { \
- failhdr; \
- if (num_ == 1) { \
- fprintf(stderr, "text: \"%s\" != \"%s\"\n", error.text, texts_[0]); \
- } else { \
- fprintf(stderr, "text: \"%s\" does not match\n", error.text); \
- } \
- exit(1); \
- } \
- if (strcmp(error.source, source_) != 0) { \
- failhdr; \
- \
- fprintf(stderr, "source: \"%s\" != \"%s\"\n", error.source, source_); \
- exit(1); \
- } \
- if (error.line != line_) { \
- failhdr; \
- fprintf(stderr, "line: %d != %d\n", error.line, line_); \
- exit(1); \
- } \
- if (error.column != column_) { \
- failhdr; \
- fprintf(stderr, "column: %d != %d\n", error.column, column_); \
- exit(1); \
- } \
- if (error.position != position_) { \
- failhdr; \
- fprintf(stderr, "position: %d != %d\n", error.position, position_); \
- exit(1); \
- } \
- } while (0)
-
-/* Assumes json_error_t error */
-#define check_error(code_, text_, source_, line_, column_, position_) \
- check_errors(code_, &text_, 1, source_, line_, column_, position_)
-
-static void run_tests();
-
-int main() {
-#ifdef HAVE_SETLOCALE
- setlocale(LC_ALL, "");
-#endif
- run_tests();
- return 0;
-}
-
-#endif
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/array/input b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/array/input
deleted file mode 100644
index 44e2ace7e..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/array/input
+++ /dev/null
@@ -1 +0,0 @@
-[1, 2]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/array/output b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/array/output
deleted file mode 100644
index fd8ef0957..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/array/output
+++ /dev/null
@@ -1 +0,0 @@
-[1, 2] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/compact-array/env b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/compact-array/env
deleted file mode 100644
index 4474aaf14..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/compact-array/env
+++ /dev/null
@@ -1,2 +0,0 @@
-JSON_COMPACT=1
-export JSON_COMPACT
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/compact-array/input b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/compact-array/input
deleted file mode 100644
index 44e2ace7e..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/compact-array/input
+++ /dev/null
@@ -1 +0,0 @@
-[1, 2]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/compact-array/output b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/compact-array/output
deleted file mode 100644
index 3169929f6..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/compact-array/output
+++ /dev/null
@@ -1 +0,0 @@
-[1,2] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/compact-object/env b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/compact-object/env
deleted file mode 100644
index 93cb33dda..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/compact-object/env
+++ /dev/null
@@ -1,3 +0,0 @@
-JSON_COMPACT=1
-HASHSEED=1
-export JSON_COMPACT HASHSEED
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/compact-object/input b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/compact-object/input
deleted file mode 100644
index 062e54fb4..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/compact-object/input
+++ /dev/null
@@ -1 +0,0 @@
-{"a": 1, "b": 2}
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/compact-object/output b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/compact-object/output
deleted file mode 100644
index 73a5d70e3..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/compact-object/output
+++ /dev/null
@@ -1 +0,0 @@
-{"a":1,"b":2} \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/ensure-ascii/env b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/ensure-ascii/env
deleted file mode 100644
index 1b7b3e3f9..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/ensure-ascii/env
+++ /dev/null
@@ -1,2 +0,0 @@
-JSON_ENSURE_ASCII=1
-export JSON_ENSURE_ASCII
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/ensure-ascii/input b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/ensure-ascii/input
deleted file mode 100644
index 69469cef5..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/ensure-ascii/input
+++ /dev/null
@@ -1,8 +0,0 @@
-[
- "foo",
- "å ä ö",
- "foo åä",
- "åä foo",
- "å foo ä",
- "clef g: 𝄞"
-]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/ensure-ascii/output b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/ensure-ascii/output
deleted file mode 100644
index 94fa79d2d..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/ensure-ascii/output
+++ /dev/null
@@ -1 +0,0 @@
-["foo", "\u00E5 \u00E4 \u00F6", "foo \u00E5\u00E4", "\u00E5\u00E4 foo", "\u00E5 foo \u00E4", "clef g: \uD834\uDD1E"] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-array/env b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-array/env
deleted file mode 100644
index d220f837c..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-array/env
+++ /dev/null
@@ -1,2 +0,0 @@
-JSON_INDENT=4
-export JSON_INDENT
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-array/input b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-array/input
deleted file mode 100644
index 44e2ace7e..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-array/input
+++ /dev/null
@@ -1 +0,0 @@
-[1, 2]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-array/output b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-array/output
deleted file mode 100644
index c57d705ba..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-array/output
+++ /dev/null
@@ -1,4 +0,0 @@
-[
- 1,
- 2
-] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-compact-array/env b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-compact-array/env
deleted file mode 100644
index 78fbfcc2e..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-compact-array/env
+++ /dev/null
@@ -1,3 +0,0 @@
-JSON_INDENT=4
-JSON_COMPACT=1
-export JSON_INDENT JSON_COMPACT
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-compact-array/input b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-compact-array/input
deleted file mode 100644
index 44e2ace7e..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-compact-array/input
+++ /dev/null
@@ -1 +0,0 @@
-[1, 2]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-compact-array/output b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-compact-array/output
deleted file mode 100644
index c57d705ba..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-compact-array/output
+++ /dev/null
@@ -1,4 +0,0 @@
-[
- 1,
- 2
-] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-compact-object/env b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-compact-object/env
deleted file mode 100644
index c73acc179..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-compact-object/env
+++ /dev/null
@@ -1,4 +0,0 @@
-JSON_INDENT=4
-JSON_COMPACT=1
-HASHSEED=1
-export JSON_INDENT JSON_COMPACT HASHSEED
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-compact-object/input b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-compact-object/input
deleted file mode 100644
index 062e54fb4..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-compact-object/input
+++ /dev/null
@@ -1 +0,0 @@
-{"a": 1, "b": 2}
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-compact-object/output b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-compact-object/output
deleted file mode 100644
index 9cc42948d..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-compact-object/output
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "a":1,
- "b":2
-} \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-object/env b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-object/env
deleted file mode 100644
index 961558ca2..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-object/env
+++ /dev/null
@@ -1,3 +0,0 @@
-JSON_INDENT=4
-HASHSEED=1
-export JSON_INDENT HASHSEED
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-object/input b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-object/input
deleted file mode 100644
index 062e54fb4..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-object/input
+++ /dev/null
@@ -1 +0,0 @@
-{"a": 1, "b": 2}
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-object/output b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-object/output
deleted file mode 100644
index 0fbddba44..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/indent-object/output
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "a": 1,
- "b": 2
-} \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/object/env b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/object/env
deleted file mode 100644
index 9120b0351..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/object/env
+++ /dev/null
@@ -1,2 +0,0 @@
-HASHSEED=1
-export HASHSEED
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/object/input b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/object/input
deleted file mode 100644
index 062e54fb4..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/object/input
+++ /dev/null
@@ -1 +0,0 @@
-{"a": 1, "b": 2}
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/object/output b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/object/output
deleted file mode 100644
index ecd219f72..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/object/output
+++ /dev/null
@@ -1 +0,0 @@
-{"a": 1, "b": 2} \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/preserve-order/env b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/preserve-order/env
deleted file mode 100644
index 4d9d20659..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/preserve-order/env
+++ /dev/null
@@ -1,2 +0,0 @@
-JSON_PRESERVE_ORDER=1
-export JSON_PRESERVE_ORDER
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/preserve-order/input b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/preserve-order/input
deleted file mode 100644
index 27bcf18a0..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/preserve-order/input
+++ /dev/null
@@ -1 +0,0 @@
-{"foo": 1, "bar": 2, "asdf": 3, "deadbeef": 4, "badc0ffee": 5, "qwerty": 6}
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/preserve-order/output b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/preserve-order/output
deleted file mode 100644
index 7a443f684..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/preserve-order/output
+++ /dev/null
@@ -1 +0,0 @@
-{"foo": 1, "bar": 2, "asdf": 3, "deadbeef": 4, "badc0ffee": 5, "qwerty": 6} \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/real-precision/env b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/real-precision/env
deleted file mode 100644
index 9c52cbcd6..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/real-precision/env
+++ /dev/null
@@ -1,2 +0,0 @@
-JSON_REAL_PRECISION=4
-export JSON_REAL_PRECISION
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/real-precision/input b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/real-precision/input
deleted file mode 100644
index e291165c1..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/real-precision/input
+++ /dev/null
@@ -1 +0,0 @@
-[1.23456789, 1.0, 1.0000000000000002]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/real-precision/output b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/real-precision/output
deleted file mode 100644
index f273c73e5..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/real-precision/output
+++ /dev/null
@@ -1 +0,0 @@
-[1.235, 1.0, 1.0] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/run b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/run
deleted file mode 100755
index 5db7d5e5c..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/run
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-#
-# Copyright (c) 2009-2016 Petri Lehtinen <petri@digip.org>
-#
-# Jansson is free software; you can redistribute it and/or modify
-# it under the terms of the MIT license. See LICENSE for details.
-
-is_test() {
- test -d $test_path
-}
-
-run_test() {
- (
- if [ -f $test_path/env ]; then
- . $test_path/env
- fi
- $json_process --env <$test_path/input >$test_log/stdout 2>$test_log/stderr
- )
- valgrind_check $test_log/stderr || return 1
- cmp -s $test_path/output $test_log/stdout
-}
-
-show_error() {
- valgrind_show_error && return
-
- echo "EXPECTED OUTPUT:"
- nl -bn $test_path/output
- echo "ACTUAL OUTPUT:"
- nl -bn $test_log/stdout
-}
-
-. $top_srcdir/test/scripts/run-tests.sh
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/sort-keys/env b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/sort-keys/env
deleted file mode 100644
index 3ef24cb7b..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/sort-keys/env
+++ /dev/null
@@ -1,2 +0,0 @@
-JSON_SORT_KEYS=1
-export JSON_SORT_KEYS
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/sort-keys/input b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/sort-keys/input
deleted file mode 100644
index 66951d6b0..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/sort-keys/input
+++ /dev/null
@@ -1 +0,0 @@
-{"foo": 1, "bar": 2, "baz": 3, "quux": 4}
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/sort-keys/output b/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/sort-keys/output
deleted file mode 100644
index 132d9df31..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/encoding-flags/sort-keys/output
+++ /dev/null
@@ -1 +0,0 @@
-{"bar": 2, "baz": 3, "foo": 1, "quux": 4} \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/encoded-surrogate-half/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/encoded-surrogate-half/error
deleted file mode 100644
index 762d2c4b1..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/encoded-surrogate-half/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 2 2
-unable to decode byte 0xed near '"'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/encoded-surrogate-half/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/encoded-surrogate-half/input
deleted file mode 100644
index 515dd933c..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/encoded-surrogate-half/input
+++ /dev/null
@@ -1 +0,0 @@
-[" <-- encoded surrogate half"]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-after-backslash/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-after-backslash/error
deleted file mode 100644
index b16dc171e..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-after-backslash/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 3 3
-unable to decode byte 0xe5 near '"\'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-after-backslash/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-after-backslash/input
deleted file mode 100644
index 57c8beef6..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-after-backslash/input
+++ /dev/null
@@ -1 +0,0 @@
-["\"]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-array/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-array/error
deleted file mode 100644
index be15386df..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-array/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 1 1
-unable to decode byte 0xe5
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-array/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-array/input
deleted file mode 100644
index ebefcd6f8..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-array/input
+++ /dev/null
@@ -1 +0,0 @@
-[]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-bigger-int/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-bigger-int/error
deleted file mode 100644
index 01b447639..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-bigger-int/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 4 4
-unable to decode byte 0xe5 near '123'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-bigger-int/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-bigger-int/input
deleted file mode 100644
index e512f9ae0..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-bigger-int/input
+++ /dev/null
@@ -1 +0,0 @@
-[123]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-escape/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-escape/error
deleted file mode 100644
index c13583dd8..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-escape/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 4 4
-unable to decode byte 0xe5 near '"\u'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-escape/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-escape/input
deleted file mode 100644
index 2b271b82f..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-escape/input
+++ /dev/null
@@ -1 +0,0 @@
-["\u"]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-exponent/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-exponent/error
deleted file mode 100644
index c7b20b7a2..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-exponent/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 4 4
-unable to decode byte 0xe5 near '1e1'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-exponent/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-exponent/input
deleted file mode 100644
index d8e83c595..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-exponent/input
+++ /dev/null
@@ -1 +0,0 @@
-[1e1]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-identifier/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-identifier/error
deleted file mode 100644
index 33dfc2324..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-identifier/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 2 2
-unable to decode byte 0xe5 near 'a'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-identifier/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-identifier/input
deleted file mode 100644
index ef038514a..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-identifier/input
+++ /dev/null
@@ -1 +0,0 @@
-[a]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-int/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-int/error
deleted file mode 100644
index 8f08970c1..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-int/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 2 2
-unable to decode byte 0xe5 near '0'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-int/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-int/input
deleted file mode 100644
index 371226e4c..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-int/input
+++ /dev/null
@@ -1 +0,0 @@
-[0]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-real-after-e/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-real-after-e/error
deleted file mode 100644
index b7660e327..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-real-after-e/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 3 3
-unable to decode byte 0xe5 near '1e'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-real-after-e/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-real-after-e/input
deleted file mode 100644
index 17fc29c90..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-real-after-e/input
+++ /dev/null
@@ -1 +0,0 @@
-[1e]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-string/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-string/error
deleted file mode 100644
index 0b7039a52..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-string/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 2 2
-unable to decode byte 0xe5 near '"'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-string/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-string/input
deleted file mode 100644
index 00b79c0af..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/invalid-utf-8-in-string/input
+++ /dev/null
@@ -1 +0,0 @@
-[" <-- invalid UTF-8"]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/lone-invalid-utf-8/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/lone-invalid-utf-8/error
deleted file mode 100644
index 8e9a51119..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/lone-invalid-utf-8/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 0 0
-unable to decode byte 0xe5
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/lone-invalid-utf-8/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/lone-invalid-utf-8/input
deleted file mode 100644
index eb8079699..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/lone-invalid-utf-8/input
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/lone-utf-8-continuation-byte/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/lone-utf-8-continuation-byte/error
deleted file mode 100644
index 86bbad3c8..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/lone-utf-8-continuation-byte/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 2 2
-unable to decode byte 0x81 near '"'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/lone-utf-8-continuation-byte/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/lone-utf-8-continuation-byte/input
deleted file mode 100644
index 62a26b6fb..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/lone-utf-8-continuation-byte/input
+++ /dev/null
@@ -1 +0,0 @@
-[""]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/not-in-unicode-range/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/not-in-unicode-range/error
deleted file mode 100644
index d07ccb3e5..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/not-in-unicode-range/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 2 2
-unable to decode byte 0xf4 near '"'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/not-in-unicode-range/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/not-in-unicode-range/input
deleted file mode 100644
index 1216186a7..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/not-in-unicode-range/input
+++ /dev/null
@@ -1 +0,0 @@
-[""]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/overlong-3-byte-encoding/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/overlong-3-byte-encoding/error
deleted file mode 100644
index 8a05abaed..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/overlong-3-byte-encoding/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 2 2
-unable to decode byte 0xe0 near '"'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/overlong-3-byte-encoding/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/overlong-3-byte-encoding/input
deleted file mode 100644
index 0bf909f7b..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/overlong-3-byte-encoding/input
+++ /dev/null
@@ -1 +0,0 @@
-[" <-- overlong encoding"]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/overlong-4-byte-encoding/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/overlong-4-byte-encoding/error
deleted file mode 100644
index 7e19c5fe4..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/overlong-4-byte-encoding/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 2 2
-unable to decode byte 0xf0 near '"'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/overlong-4-byte-encoding/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/overlong-4-byte-encoding/input
deleted file mode 100644
index c6b631350..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/overlong-4-byte-encoding/input
+++ /dev/null
@@ -1 +0,0 @@
-[" <-- overlong encoding"]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/overlong-ascii-encoding/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/overlong-ascii-encoding/error
deleted file mode 100644
index 1d382edd7..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/overlong-ascii-encoding/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 2 2
-unable to decode byte 0xc1 near '"'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/overlong-ascii-encoding/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/overlong-ascii-encoding/input
deleted file mode 100644
index ef6e10a34..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/overlong-ascii-encoding/input
+++ /dev/null
@@ -1 +0,0 @@
-[""]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/restricted-utf-8/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/restricted-utf-8/error
deleted file mode 100644
index d018f5ff3..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/restricted-utf-8/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 2 2
-unable to decode byte 0xfd near '"'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/restricted-utf-8/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/restricted-utf-8/input
deleted file mode 100644
index ba6017002..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/restricted-utf-8/input
+++ /dev/null
@@ -1 +0,0 @@
-[""]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/run b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/run
deleted file mode 100755
index 369c43da5..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/run
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-#
-# Copyright (c) 2009-2016 Petri Lehtinen <petri@digip.org>
-#
-# Jansson is free software; you can redistribute it and/or modify
-# it under the terms of the MIT license. See LICENSE for details.
-
-is_test() {
- test -d $test_path
-}
-
-run_test() {
- $json_process --env <$test_path/input >$test_log/stdout 2>$test_log/stderr
- valgrind_check $test_log/stderr || return 1
- cmp -s $test_path/error $test_log/stderr
-}
-
-show_error() {
- valgrind_show_error && return
-
- echo "EXPECTED ERROR:"
- nl -bn $test_path/error
- echo "ACTUAL ERROR:"
- nl -bn $test_log/stderr
-}
-
-. $top_srcdir/test/scripts/run-tests.sh
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/truncated-utf-8/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/truncated-utf-8/error
deleted file mode 100644
index 8a05abaed..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/truncated-utf-8/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 2 2
-unable to decode byte 0xe0 near '"'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/truncated-utf-8/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/truncated-utf-8/input
deleted file mode 100644
index bce9e18bf..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid-unicode/truncated-utf-8/input
+++ /dev/null
@@ -1 +0,0 @@
-[" <-- truncated UTF-8"]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/apostrophe/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/apostrophe/error
deleted file mode 100644
index 79bb2a0eb..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/apostrophe/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 2 2
-invalid token near '''
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/apostrophe/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/apostrophe/input
deleted file mode 100644
index f2dd4d224..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/apostrophe/input
+++ /dev/null
@@ -1 +0,0 @@
-['
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/ascii-unicode-identifier/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/ascii-unicode-identifier/error
deleted file mode 100644
index a4d814280..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/ascii-unicode-identifier/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 1 1
-'[' or '{' expected near 'a'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/ascii-unicode-identifier/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/ascii-unicode-identifier/input
deleted file mode 100644
index c2c0208ed..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/ascii-unicode-identifier/input
+++ /dev/null
@@ -1 +0,0 @@
-aå
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/brace-comma/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/brace-comma/error
deleted file mode 100644
index ce046213c..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/brace-comma/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 2 2
-string or '}' expected near ','
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/brace-comma/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/brace-comma/input
deleted file mode 100644
index 74a6628d4..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/brace-comma/input
+++ /dev/null
@@ -1 +0,0 @@
-{,
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/bracket-comma/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/bracket-comma/error
deleted file mode 100644
index ce0a912bf..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/bracket-comma/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 2 2
-unexpected token near ','
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/bracket-comma/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/bracket-comma/input
deleted file mode 100644
index 5b911f11d..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/bracket-comma/input
+++ /dev/null
@@ -1 +0,0 @@
-[,
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/bracket-one-comma/error.normal b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/bracket-one-comma/error.normal
deleted file mode 100644
index 0248b114a..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/bracket-one-comma/error.normal
+++ /dev/null
@@ -1,2 +0,0 @@
-2 0 4
-']' expected near end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/bracket-one-comma/error.strip b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/bracket-one-comma/error.strip
deleted file mode 100644
index f89b38fcb..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/bracket-one-comma/error.strip
+++ /dev/null
@@ -1,2 +0,0 @@
-1 3 3
-']' expected near end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/bracket-one-comma/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/bracket-one-comma/input
deleted file mode 100644
index 874691b1d..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/bracket-one-comma/input
+++ /dev/null
@@ -1 +0,0 @@
-[1,
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/empty/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/empty/error
deleted file mode 100644
index f45da6f82..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/empty/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 0 0
-'[' or '{' expected near end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/empty/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/empty/input
deleted file mode 100644
index e69de29bb..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/empty/input
+++ /dev/null
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/extra-comma-in-array/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/extra-comma-in-array/error
deleted file mode 100644
index cae86c246..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/extra-comma-in-array/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 4 4
-unexpected token near ']'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/extra-comma-in-array/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/extra-comma-in-array/input
deleted file mode 100644
index e8b1a170f..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/extra-comma-in-array/input
+++ /dev/null
@@ -1 +0,0 @@
-[1,]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/extra-comma-in-multiline-array/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/extra-comma-in-multiline-array/error
deleted file mode 100644
index 5baeea447..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/extra-comma-in-multiline-array/error
+++ /dev/null
@@ -1,2 +0,0 @@
-6 1 17
-unexpected token near ']'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/extra-comma-in-multiline-array/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/extra-comma-in-multiline-array/input
deleted file mode 100644
index bcb2a7526..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/extra-comma-in-multiline-array/input
+++ /dev/null
@@ -1,6 +0,0 @@
-[1,
-2,
-3,
-4,
-5,
-]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/garbage-after-newline/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/garbage-after-newline/error
deleted file mode 100644
index 5d2dec374..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/garbage-after-newline/error
+++ /dev/null
@@ -1,2 +0,0 @@
-2 3 11
-end of file expected near 'foo'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/garbage-after-newline/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/garbage-after-newline/input
deleted file mode 100644
index 3614ac78f..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/garbage-after-newline/input
+++ /dev/null
@@ -1,2 +0,0 @@
-[1,2,3]
-foo
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/garbage-at-the-end/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/garbage-at-the-end/error
deleted file mode 100644
index cdd817572..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/garbage-at-the-end/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 10 10
-end of file expected near 'foo'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/garbage-at-the-end/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/garbage-at-the-end/input
deleted file mode 100644
index 55aee53d2..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/garbage-at-the-end/input
+++ /dev/null
@@ -1 +0,0 @@
-[1,2,3]foo
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/integer-starting-with-zero/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/integer-starting-with-zero/error
deleted file mode 100644
index 64e0536aa..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/integer-starting-with-zero/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 2 2
-invalid token near '0'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/integer-starting-with-zero/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/integer-starting-with-zero/input
deleted file mode 100644
index 12f67e2c2..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/integer-starting-with-zero/input
+++ /dev/null
@@ -1 +0,0 @@
-[012]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-escape/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-escape/error
deleted file mode 100644
index d9863f73b..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-escape/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 4 4
-invalid escape near '"\a'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-escape/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-escape/input
deleted file mode 100644
index 64c7b70d9..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-escape/input
+++ /dev/null
@@ -1 +0,0 @@
-["\a <-- invalid escape"]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-identifier/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-identifier/error
deleted file mode 100644
index 496c6aba2..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-identifier/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 5 5
-invalid token near 'troo'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-identifier/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-identifier/input
deleted file mode 100644
index 3d2860da1..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-identifier/input
+++ /dev/null
@@ -1 +0,0 @@
-[troo
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-negative-integer/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-negative-integer/error
deleted file mode 100644
index f2526c51e..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-negative-integer/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 8 8
-']' expected near 'foo'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-negative-integer/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-negative-integer/input
deleted file mode 100644
index 6196980ec..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-negative-integer/input
+++ /dev/null
@@ -1 +0,0 @@
-[-123foo]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-negative-real/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-negative-real/error
deleted file mode 100644
index 933158ae5..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-negative-real/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 12 12
-']' expected near 'foo'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-negative-real/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-negative-real/input
deleted file mode 100644
index 3c763d334..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-negative-real/input
+++ /dev/null
@@ -1 +0,0 @@
-[-123.123foo]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-second-surrogate/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-second-surrogate/error
deleted file mode 100644
index e5a2359e6..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-second-surrogate/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 62 62
-invalid Unicode '\uD888\u3210'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-second-surrogate/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-second-surrogate/input
deleted file mode 100644
index b21453f6f..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-second-surrogate/input
+++ /dev/null
@@ -1 +0,0 @@
-["\uD888\u3210 (first surrogate and invalid second surrogate)"]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-unicode-escape/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-unicode-escape/error
deleted file mode 100644
index 221c762eb..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-unicode-escape/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 5 5
-invalid escape near '"\uq'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-unicode-escape/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-unicode-escape/input
deleted file mode 100644
index f381e85b8..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/invalid-unicode-escape/input
+++ /dev/null
@@ -1 +0,0 @@
-["\uqqqq <-- invalid unicode escape"]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-open-brace/error.normal b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-open-brace/error.normal
deleted file mode 100644
index 00dc765b9..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-open-brace/error.normal
+++ /dev/null
@@ -1,2 +0,0 @@
-2 0 2
-string or '}' expected near end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-open-brace/error.strip b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-open-brace/error.strip
deleted file mode 100644
index bb1c04745..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-open-brace/error.strip
+++ /dev/null
@@ -1,2 +0,0 @@
-1 1 1
-string or '}' expected near end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-open-brace/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-open-brace/input
deleted file mode 100644
index 98232c64f..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-open-brace/input
+++ /dev/null
@@ -1 +0,0 @@
-{
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-open-bracket/error.normal b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-open-bracket/error.normal
deleted file mode 100644
index f463928f8..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-open-bracket/error.normal
+++ /dev/null
@@ -1,2 +0,0 @@
-2 0 2
-']' expected near end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-open-bracket/error.strip b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-open-bracket/error.strip
deleted file mode 100644
index 2bc07ea0c..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-open-bracket/error.strip
+++ /dev/null
@@ -1,2 +0,0 @@
-1 1 1
-']' expected near end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-open-bracket/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-open-bracket/input
deleted file mode 100644
index 558ed37d9..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-open-bracket/input
+++ /dev/null
@@ -1 +0,0 @@
-[
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-second-surrogate/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-second-surrogate/error
deleted file mode 100644
index bc5f34e11..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-second-surrogate/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 40 40
-invalid Unicode '\uDFAA'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-second-surrogate/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-second-surrogate/input
deleted file mode 100644
index 328e35c82..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/lone-second-surrogate/input
+++ /dev/null
@@ -1 +0,0 @@
-["\uDFAA (second surrogate on it's own)"]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/minus-sign-without-number/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/minus-sign-without-number/error
deleted file mode 100644
index b3a78b978..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/minus-sign-without-number/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 2 2
-invalid token near '-'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/minus-sign-without-number/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/minus-sign-without-number/input
deleted file mode 100644
index 033788355..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/minus-sign-without-number/input
+++ /dev/null
@@ -1 +0,0 @@
-[-foo]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/negative-integer-starting-with-zero/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/negative-integer-starting-with-zero/error
deleted file mode 100644
index 36adc34b4..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/negative-integer-starting-with-zero/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 3 3
-invalid token near '-0'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/negative-integer-starting-with-zero/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/negative-integer-starting-with-zero/input
deleted file mode 100644
index 6fbb7a2f8..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/negative-integer-starting-with-zero/input
+++ /dev/null
@@ -1 +0,0 @@
-[-012]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-in-object-key/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-in-object-key/error
deleted file mode 100644
index 3ec685b5d..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-in-object-key/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 15 15
-NUL byte in object key not supported near '"foo\u0000bar"'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-in-object-key/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-in-object-key/input
deleted file mode 100644
index 593f0f67f..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-in-object-key/input
+++ /dev/null
@@ -1 +0,0 @@
-{"foo\u0000bar": 42} \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-in-string/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-in-string/error
deleted file mode 100644
index 45f9bd817..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-in-string/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 12 12
-control character 0x0 near '"null byte '
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-in-string/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-in-string/input
deleted file mode 100644
index 268d1f194..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-in-string/input
+++ /dev/null
Binary files differ
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-in-string/nostrip b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-in-string/nostrip
deleted file mode 100644
index 80f4bf761..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-in-string/nostrip
+++ /dev/null
@@ -1,2 +0,0 @@
-The embedded NULL byte breaks json_loads(), which is used instead of
-json_loadf() in the stripped tests.
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-outside-string/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-outside-string/error
deleted file mode 100644
index 44d4def92..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-outside-string/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 2 2
-invalid token near end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-outside-string/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-outside-string/input
deleted file mode 100644
index aa550eb0c..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-outside-string/input
+++ /dev/null
Binary files differ
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-outside-string/nostrip b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-outside-string/nostrip
deleted file mode 100644
index 80f4bf761..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-byte-outside-string/nostrip
+++ /dev/null
@@ -1,2 +0,0 @@
-The embedded NULL byte breaks json_loads(), which is used instead of
-json_loadf() in the stripped tests.
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-escape-in-string/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-escape-in-string/error
deleted file mode 100644
index 3f5c8c6ca..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-escape-in-string/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 33 33
-\u0000 is not allowed without JSON_ALLOW_NUL
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-escape-in-string/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-escape-in-string/input
deleted file mode 100644
index dbc9c9a99..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null-escape-in-string/input
+++ /dev/null
@@ -1 +0,0 @@
-["null escape \u0000 not allowed"]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null/error
deleted file mode 100644
index 1f5d46490..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 4 4
-'[' or '{' expected near 'null'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null/input
deleted file mode 100644
index 19765bd50..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/null/input
+++ /dev/null
@@ -1 +0,0 @@
-null
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-apostrophes/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-apostrophes/error
deleted file mode 100644
index 23fab01f6..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-apostrophes/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 2 2
-string or '}' expected near '''
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-apostrophes/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-apostrophes/input
deleted file mode 100644
index 52b290574..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-apostrophes/input
+++ /dev/null
@@ -1 +0,0 @@
-{'a'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-garbage-at-end/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-garbage-at-end/error
deleted file mode 100644
index 06c4ec1c2..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-garbage-at-end/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 12 12
-'}' expected near '123'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-garbage-at-end/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-garbage-at-end/input
deleted file mode 100644
index 62c19d742..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-garbage-at-end/input
+++ /dev/null
@@ -1 +0,0 @@
-{"a":"a" 123}
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-in-unterminated-array/error.normal b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-in-unterminated-array/error.normal
deleted file mode 100644
index 0248b114a..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-in-unterminated-array/error.normal
+++ /dev/null
@@ -1,2 +0,0 @@
-2 0 4
-']' expected near end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-in-unterminated-array/error.strip b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-in-unterminated-array/error.strip
deleted file mode 100644
index f89b38fcb..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-in-unterminated-array/error.strip
+++ /dev/null
@@ -1,2 +0,0 @@
-1 3 3
-']' expected near end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-in-unterminated-array/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-in-unterminated-array/input
deleted file mode 100644
index ca9ec378e..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-in-unterminated-array/input
+++ /dev/null
@@ -1 +0,0 @@
-[{}
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-no-colon/error.normal b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-no-colon/error.normal
deleted file mode 100644
index 78d84f7b7..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-no-colon/error.normal
+++ /dev/null
@@ -1,2 +0,0 @@
-2 0 5
-':' expected near end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-no-colon/error.strip b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-no-colon/error.strip
deleted file mode 100644
index 528e266d2..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-no-colon/error.strip
+++ /dev/null
@@ -1,2 +0,0 @@
-1 4 4
-':' expected near end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-no-colon/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-no-colon/input
deleted file mode 100644
index 107e6265c..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-no-colon/input
+++ /dev/null
@@ -1 +0,0 @@
-{"a"
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-no-value/error.normal b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-no-value/error.normal
deleted file mode 100644
index 47ad902dd..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-no-value/error.normal
+++ /dev/null
@@ -1,2 +0,0 @@
-2 0 6
-unexpected token near end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-no-value/error.strip b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-no-value/error.strip
deleted file mode 100644
index b36c5e2bc..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-no-value/error.strip
+++ /dev/null
@@ -1,2 +0,0 @@
-1 5 5
-unexpected token near end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-no-value/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-no-value/input
deleted file mode 100644
index f68f26269..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-no-value/input
+++ /dev/null
@@ -1 +0,0 @@
-{"a":
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-unterminated-value/error.normal b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-unterminated-value/error.normal
deleted file mode 100644
index 2ad76d473..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-unterminated-value/error.normal
+++ /dev/null
@@ -1,2 +0,0 @@
-1 7 7
-unexpected newline near '"a'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-unterminated-value/error.strip b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-unterminated-value/error.strip
deleted file mode 100644
index 385afb534..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-unterminated-value/error.strip
+++ /dev/null
@@ -1,2 +0,0 @@
-1 7 7
-premature end of input near '"a'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-unterminated-value/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-unterminated-value/input
deleted file mode 100644
index b854d7e18..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/object-unterminated-value/input
+++ /dev/null
@@ -1 +0,0 @@
-{"a":"a
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-garbage-after-e/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-garbage-after-e/error
deleted file mode 100644
index b40ffa9b5..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-garbage-after-e/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 3 3
-invalid token near '1e'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-garbage-after-e/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-garbage-after-e/input
deleted file mode 100644
index 6a945ac0f..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-garbage-after-e/input
+++ /dev/null
@@ -1 +0,0 @@
-[1ea]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-negative-overflow/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-negative-overflow/error
deleted file mode 100644
index d7f8e412d..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-negative-overflow/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 15 15
-real number overflow near '-123123e100000'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-negative-overflow/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-negative-overflow/input
deleted file mode 100644
index b5bd21c46..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-negative-overflow/input
+++ /dev/null
@@ -1 +0,0 @@
-[-123123e100000]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-positive-overflow/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-positive-overflow/error
deleted file mode 100644
index 55883c981..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-positive-overflow/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 14 14
-real number overflow near '123123e100000'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-positive-overflow/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-positive-overflow/input
deleted file mode 100644
index 524e53b31..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-positive-overflow/input
+++ /dev/null
@@ -1 +0,0 @@
-[123123e100000]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-truncated-at-e/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-truncated-at-e/error
deleted file mode 100644
index b40ffa9b5..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-truncated-at-e/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 3 3
-invalid token near '1e'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-truncated-at-e/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-truncated-at-e/input
deleted file mode 100644
index 1d67b7b82..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-truncated-at-e/input
+++ /dev/null
@@ -1 +0,0 @@
-[1e]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-truncated-at-point/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-truncated-at-point/error
deleted file mode 100644
index db972e8e1..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-truncated-at-point/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 3 3
-invalid token near '1.'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-truncated-at-point/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-truncated-at-point/input
deleted file mode 100644
index b652b3fe0..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/real-truncated-at-point/input
+++ /dev/null
@@ -1 +0,0 @@
-[1.]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/recursion-depth/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/recursion-depth/error
deleted file mode 100644
index 11e0537ff..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/recursion-depth/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 2049 2049
-maximum parsing depth reached near '['
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/recursion-depth/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/recursion-depth/input
deleted file mode 100644
index bfa47d9d1..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/recursion-depth/input
+++ /dev/null
@@ -1 +0,0 @@
-[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[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[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/run b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/run
deleted file mode 100755
index d1d490c63..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/run
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/sh
-#
-# Copyright (c) 2009-2016 Petri Lehtinen <petri@digip.org>
-#
-# Jansson is free software; you can redistribute it and/or modify
-# it under the terms of the MIT license. See LICENSE for details.
-
-is_test() {
- test -d $test_path
-}
-
-do_run() {
- variant=$1
- s=".$1"
-
- strip=0
- if [ "$variant" = "strip" ]; then
- # This test should not be stripped
- [ -f $test_path/nostrip ] && return
- strip=1
- fi
-
- STRIP=$strip $json_process --env \
- <$test_path/input >$test_log/stdout$s 2>$test_log/stderr$s
- valgrind_check $test_log/stderr$s || return 1
-
- ref=error
- [ -f $test_path/error$s ] && ref=error$s
-
- if ! cmp -s $test_path/$ref $test_log/stderr$s; then
- echo $variant > $test_log/variant
- return 1
- fi
-}
-
-run_test() {
- do_run normal && do_run strip
-}
-
-show_error() {
- valgrind_show_error && return
-
- read variant < $test_log/variant
- s=".$variant"
-
- echo "VARIANT: $variant"
-
- echo "EXPECTED ERROR:"
- ref=error
- [ -f $test_path/error$s ] && ref=error$s
- nl -bn $test_path/$ref
-
- echo "ACTUAL ERROR:"
- nl -bn $test_log/stderr$s
-}
-
-. $top_srcdir/test/scripts/run-tests.sh
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/tab-character-in-string/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/tab-character-in-string/error
deleted file mode 100644
index 9e2f76ed2..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/tab-character-in-string/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 2 2
-control character 0x9 near '"'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/tab-character-in-string/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/tab-character-in-string/input
deleted file mode 100644
index 3ebae0953..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/tab-character-in-string/input
+++ /dev/null
@@ -1 +0,0 @@
-[" <-- tab character"]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/too-big-negative-integer/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/too-big-negative-integer/error
deleted file mode 100644
index a0640b9a9..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/too-big-negative-integer/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 32 32
-too big negative integer
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/too-big-negative-integer/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/too-big-negative-integer/input
deleted file mode 100644
index d6c26f1cf..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/too-big-negative-integer/input
+++ /dev/null
@@ -1 +0,0 @@
-[-123123123123123123123123123123]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/too-big-positive-integer/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/too-big-positive-integer/error
deleted file mode 100644
index 3bdbefd53..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/too-big-positive-integer/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 31 31
-too big integer
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/too-big-positive-integer/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/too-big-positive-integer/input
deleted file mode 100644
index 27c855399..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/too-big-positive-integer/input
+++ /dev/null
@@ -1 +0,0 @@
-[123123123123123123123123123123]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/truncated-unicode-surrogate/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/truncated-unicode-surrogate/error
deleted file mode 100644
index 1b99f061a..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/truncated-unicode-surrogate/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 46 46
-invalid Unicode '\uDADA'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/truncated-unicode-surrogate/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/truncated-unicode-surrogate/input
deleted file mode 100644
index 2b340f4ad..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/truncated-unicode-surrogate/input
+++ /dev/null
@@ -1 +0,0 @@
-["\uDADA (first surrogate without the second)"]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unicode-identifier/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unicode-identifier/error
deleted file mode 100644
index 178b0dd4d..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unicode-identifier/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 1 2
-'[' or '{' expected near 'å'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unicode-identifier/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unicode-identifier/input
deleted file mode 100644
index aad321caf..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unicode-identifier/input
+++ /dev/null
@@ -1 +0,0 @@
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-array-and-object/error.normal b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-array-and-object/error.normal
deleted file mode 100644
index 5b19804bc..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-array-and-object/error.normal
+++ /dev/null
@@ -1,2 +0,0 @@
-2 0 3
-string or '}' expected near end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-array-and-object/error.strip b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-array-and-object/error.strip
deleted file mode 100644
index da2bb22f1..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-array-and-object/error.strip
+++ /dev/null
@@ -1,2 +0,0 @@
-1 2 2
-string or '}' expected near end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-array-and-object/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-array-and-object/input
deleted file mode 100644
index cd9dc6482..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-array-and-object/input
+++ /dev/null
@@ -1 +0,0 @@
-[{
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-array/error.normal b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-array/error.normal
deleted file mode 100644
index 8025ed1b0..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-array/error.normal
+++ /dev/null
@@ -1,2 +0,0 @@
-2 0 5
-']' expected near end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-array/error.strip b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-array/error.strip
deleted file mode 100644
index 495d0f7c4..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-array/error.strip
+++ /dev/null
@@ -1,2 +0,0 @@
-1 4 4
-']' expected near end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-array/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-array/input
deleted file mode 100644
index 727ee8106..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-array/input
+++ /dev/null
@@ -1 +0,0 @@
-["a"
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-empty-key/error.normal b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-empty-key/error.normal
deleted file mode 100644
index 3d646abda..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-empty-key/error.normal
+++ /dev/null
@@ -1,2 +0,0 @@
-1 2 2
-unexpected newline near '"'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-empty-key/error.strip b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-empty-key/error.strip
deleted file mode 100644
index 94f194715..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-empty-key/error.strip
+++ /dev/null
@@ -1,2 +0,0 @@
-1 2 2
-premature end of input near '"'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-empty-key/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-empty-key/input
deleted file mode 100644
index 4117452de..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-empty-key/input
+++ /dev/null
@@ -1 +0,0 @@
-{"
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-key/error.normal b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-key/error.normal
deleted file mode 100644
index 5f09b77da..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-key/error.normal
+++ /dev/null
@@ -1,2 +0,0 @@
-1 3 3
-unexpected newline near '"a'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-key/error.strip b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-key/error.strip
deleted file mode 100644
index 8b6bec430..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-key/error.strip
+++ /dev/null
@@ -1,2 +0,0 @@
-1 3 3
-premature end of input near '"a'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-key/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-key/input
deleted file mode 100644
index 705948c64..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-key/input
+++ /dev/null
@@ -1 +0,0 @@
-{"a
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-object-and-array/error b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-object-and-array/error
deleted file mode 100644
index ed97be73e..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-object-and-array/error
+++ /dev/null
@@ -1,2 +0,0 @@
-1 2 2
-string or '}' expected near '['
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-object-and-array/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-object-and-array/input
deleted file mode 100644
index da35a8620..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-object-and-array/input
+++ /dev/null
@@ -1 +0,0 @@
-{[
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-string/error.normal b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-string/error.normal
deleted file mode 100644
index 5f09b77da..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-string/error.normal
+++ /dev/null
@@ -1,2 +0,0 @@
-1 3 3
-unexpected newline near '"a'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-string/error.strip b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-string/error.strip
deleted file mode 100644
index 8b6bec430..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-string/error.strip
+++ /dev/null
@@ -1,2 +0,0 @@
-1 3 3
-premature end of input near '"a'
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-string/input b/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-string/input
deleted file mode 100644
index 38ab6b04c..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/invalid/unterminated-string/input
+++ /dev/null
@@ -1 +0,0 @@
-["a
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/complex-array/env b/fluent-bit/lib/jansson-e23f558/test/suites/valid/complex-array/env
deleted file mode 100644
index bd89eff9d..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/complex-array/env
+++ /dev/null
@@ -1 +0,0 @@
-JSON_SORT_KEYS=1 \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/complex-array/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/complex-array/input
deleted file mode 100644
index 1b9bbb949..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/complex-array/input
+++ /dev/null
@@ -1,5 +0,0 @@
-[1,2,3,4,
-"a", "b", "c",
-{"foo": "bar", "core": "dump"},
-true, false, true, true, null, false
-]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/complex-array/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/complex-array/output
deleted file mode 100644
index 7aefe5642..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/complex-array/output
+++ /dev/null
@@ -1 +0,0 @@
-[1, 2, 3, 4, "a", "b", "c", {"core": "dump", "foo": "bar"}, true, false, true, true, null, false] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-array/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-array/input
deleted file mode 100644
index fe51488c7..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-array/input
+++ /dev/null
@@ -1 +0,0 @@
-[]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-array/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-array/output
deleted file mode 100644
index 0637a088a..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-array/output
+++ /dev/null
@@ -1 +0,0 @@
-[] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-object-in-array/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-object-in-array/input
deleted file mode 100644
index 93d51406d..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-object-in-array/input
+++ /dev/null
@@ -1 +0,0 @@
-[{}]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-object-in-array/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-object-in-array/output
deleted file mode 100644
index ee1aac42b..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-object-in-array/output
+++ /dev/null
@@ -1 +0,0 @@
-[{}] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-object/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-object/input
deleted file mode 100644
index 0967ef424..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-object/input
+++ /dev/null
@@ -1 +0,0 @@
-{}
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-object/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-object/output
deleted file mode 100644
index 9e26dfeeb..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-object/output
+++ /dev/null
@@ -1 +0,0 @@
-{} \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-string/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-string/input
deleted file mode 100644
index 66a1e1856..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-string/input
+++ /dev/null
@@ -1 +0,0 @@
-[""]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-string/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-string/output
deleted file mode 100644
index 93b6be2bc..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/empty-string/output
+++ /dev/null
@@ -1 +0,0 @@
-[""] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/escaped-utf-control-char/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/escaped-utf-control-char/input
deleted file mode 100644
index 9a98545c0..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/escaped-utf-control-char/input
+++ /dev/null
@@ -1 +0,0 @@
-["\u0012 escaped control character"]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/escaped-utf-control-char/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/escaped-utf-control-char/output
deleted file mode 100644
index 07221b78d..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/escaped-utf-control-char/output
+++ /dev/null
@@ -1 +0,0 @@
-["\u0012 escaped control character"] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/false/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/false/input
deleted file mode 100644
index 434365202..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/false/input
+++ /dev/null
@@ -1 +0,0 @@
-[false]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/false/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/false/output
deleted file mode 100644
index 67b2f0760..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/false/output
+++ /dev/null
@@ -1 +0,0 @@
-[false] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/negative-int/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/negative-int/input
deleted file mode 100644
index a96d5cdb3..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/negative-int/input
+++ /dev/null
@@ -1 +0,0 @@
-[-123]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/negative-int/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/negative-int/output
deleted file mode 100644
index 8e30f8bd9..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/negative-int/output
+++ /dev/null
@@ -1 +0,0 @@
-[-123] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/negative-one/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/negative-one/input
deleted file mode 100644
index 2363a1ac0..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/negative-one/input
+++ /dev/null
@@ -1 +0,0 @@
-[-1]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/negative-one/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/negative-one/output
deleted file mode 100644
index 99d21a2a0..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/negative-one/output
+++ /dev/null
@@ -1 +0,0 @@
-[-1] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/negative-zero/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/negative-zero/input
deleted file mode 100644
index 40fc49c71..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/negative-zero/input
+++ /dev/null
@@ -1 +0,0 @@
-[-0]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/negative-zero/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/negative-zero/output
deleted file mode 100644
index 6e7ea636e..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/negative-zero/output
+++ /dev/null
@@ -1 +0,0 @@
-[0] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/null/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/null/input
deleted file mode 100644
index 62864b313..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/null/input
+++ /dev/null
@@ -1 +0,0 @@
-[null]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/null/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/null/output
deleted file mode 100644
index 500db4a86..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/null/output
+++ /dev/null
@@ -1 +0,0 @@
-[null] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/one-byte-utf-8/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/one-byte-utf-8/input
deleted file mode 100644
index 8bda4685d..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/one-byte-utf-8/input
+++ /dev/null
@@ -1 +0,0 @@
-["\u002c one-byte UTF-8"]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/one-byte-utf-8/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/one-byte-utf-8/output
deleted file mode 100644
index c33d250ff..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/one-byte-utf-8/output
+++ /dev/null
@@ -1 +0,0 @@
-[", one-byte UTF-8"] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-capital-e-negative-exponent/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-capital-e-negative-exponent/input
deleted file mode 100644
index 1e9fa5153..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-capital-e-negative-exponent/input
+++ /dev/null
@@ -1 +0,0 @@
-[1E-2]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-capital-e-negative-exponent/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-capital-e-negative-exponent/output
deleted file mode 100644
index 75b9ef92c..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-capital-e-negative-exponent/output
+++ /dev/null
@@ -1 +0,0 @@
-[0.01] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-capital-e-positive-exponent/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-capital-e-positive-exponent/input
deleted file mode 100644
index 6a6ab9337..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-capital-e-positive-exponent/input
+++ /dev/null
@@ -1 +0,0 @@
-[1E+2]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-capital-e-positive-exponent/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-capital-e-positive-exponent/output
deleted file mode 100644
index d8ff702a1..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-capital-e-positive-exponent/output
+++ /dev/null
@@ -1 +0,0 @@
-[100.0] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-capital-e/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-capital-e/input
deleted file mode 100644
index e70322356..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-capital-e/input
+++ /dev/null
@@ -1 +0,0 @@
-[1E22]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-capital-e/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-capital-e/output
deleted file mode 100644
index 9a739f21f..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-capital-e/output
+++ /dev/null
@@ -1 +0,0 @@
-[1e22] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-exponent/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-exponent/input
deleted file mode 100644
index b2a69b9a3..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-exponent/input
+++ /dev/null
@@ -1 +0,0 @@
-[123e45]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-exponent/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-exponent/output
deleted file mode 100644
index 5ffc7196d..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-exponent/output
+++ /dev/null
@@ -1 +0,0 @@
-[1.2299999999999999e47] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-fraction-exponent/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-fraction-exponent/input
deleted file mode 100644
index 0c1660d1e..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-fraction-exponent/input
+++ /dev/null
@@ -1 +0,0 @@
-[123.456e78]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-fraction-exponent/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-fraction-exponent/output
deleted file mode 100644
index 66a3c8186..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-fraction-exponent/output
+++ /dev/null
@@ -1 +0,0 @@
-[1.23456e80] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-negative-exponent/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-negative-exponent/input
deleted file mode 100644
index daa4af932..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-negative-exponent/input
+++ /dev/null
@@ -1 +0,0 @@
-[1e-2]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-negative-exponent/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-negative-exponent/output
deleted file mode 100644
index 75b9ef92c..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-negative-exponent/output
+++ /dev/null
@@ -1 +0,0 @@
-[0.01] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-positive-exponent/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-positive-exponent/input
deleted file mode 100644
index f3780773a..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-positive-exponent/input
+++ /dev/null
@@ -1 +0,0 @@
-[1e+2]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-positive-exponent/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-positive-exponent/output
deleted file mode 100644
index d8ff702a1..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-positive-exponent/output
+++ /dev/null
@@ -1 +0,0 @@
-[100.0] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-subnormal-number/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-subnormal-number/input
deleted file mode 100644
index df6065345..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-subnormal-number/input
+++ /dev/null
@@ -1 +0,0 @@
-[1.8011670033376514e-308]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-subnormal-number/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-subnormal-number/output
deleted file mode 100644
index e6b0a58e8..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-subnormal-number/output
+++ /dev/null
@@ -1 +0,0 @@
-[1.8011670033376514e-308] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-underflow/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-underflow/input
deleted file mode 100644
index dc709960a..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-underflow/input
+++ /dev/null
@@ -1 +0,0 @@
-[123e-10000000]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-underflow/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-underflow/output
deleted file mode 100644
index 92df1df1d..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/real-underflow/output
+++ /dev/null
@@ -1 +0,0 @@
-[0.0] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/run b/fluent-bit/lib/jansson-e23f558/test/suites/valid/run
deleted file mode 100755
index d99548960..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/run
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/bin/sh
-#
-# Copyright (c) 2009-2016 Petri Lehtinen <petri@digip.org>
-#
-# Jansson is free software; you can redistribute it and/or modify
-# it under the terms of the MIT license. See LICENSE for details.
-
-JSON_SORT_KEYS=1
-export JSON_SORT_KEYS
-
-is_test() {
- test -d $test_path
-}
-
-do_run() {
- variant=$1
- s=".$1"
-
- strip=0
- [ "$variant" = "strip" ] && strip=1
-
- STRIP=$strip $json_process --env \
- <$test_path/input >$test_log/stdout$s 2>$test_log/stderr$s
- valgrind_check $test_log/stderr$s || return 1
-
- ref=output
- [ -f $test_path/output$s ] && ref=output$s
-
- if ! cmp -s $test_path/$ref $test_log/stdout$s; then
- echo $variant > $test_log/variant
- return 1
- fi
-}
-
-run_test() {
- do_run normal && do_run strip
-}
-
-show_error() {
- valgrind_show_error && return
-
- read variant < $test_log/variant
- s=".$variant"
-
- echo "VARIANT: $variant"
-
- echo "EXPECTED OUTPUT:"
- ref=output
- [ -f $test_path/output$s ] && ref=output$s
- nl -bn $test_path/$ref
-
- echo "ACTUAL OUTPUT:"
- nl -bn $test_log/stdout$s
-}
-
-. $top_srcdir/test/scripts/run-tests.sh
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/short-string/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/short-string/input
deleted file mode 100644
index 0c3426d4c..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/short-string/input
+++ /dev/null
@@ -1 +0,0 @@
-["a"]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/short-string/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/short-string/output
deleted file mode 100644
index eac5f7b46..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/short-string/output
+++ /dev/null
@@ -1 +0,0 @@
-["a"] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-ascii-string/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-ascii-string/input
deleted file mode 100644
index 929b215c1..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-ascii-string/input
+++ /dev/null
@@ -1 +0,0 @@
-["abcdefghijklmnopqrstuvwxyz1234567890 "]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-ascii-string/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-ascii-string/output
deleted file mode 100644
index 90358ab70..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-ascii-string/output
+++ /dev/null
@@ -1 +0,0 @@
-["abcdefghijklmnopqrstuvwxyz1234567890 "] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-int-0/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-int-0/input
deleted file mode 100644
index 111bb8686..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-int-0/input
+++ /dev/null
@@ -1 +0,0 @@
-[0]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-int-0/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-int-0/output
deleted file mode 100644
index 6e7ea636e..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-int-0/output
+++ /dev/null
@@ -1 +0,0 @@
-[0] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-int-1/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-int-1/input
deleted file mode 100644
index 7660873d1..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-int-1/input
+++ /dev/null
@@ -1 +0,0 @@
-[1]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-int-1/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-int-1/output
deleted file mode 100644
index bace2a0be..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-int-1/output
+++ /dev/null
@@ -1 +0,0 @@
-[1] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-int-123/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-int-123/input
deleted file mode 100644
index 3214bfe58..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-int-123/input
+++ /dev/null
@@ -1 +0,0 @@
-[123]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-int-123/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-int-123/output
deleted file mode 100644
index e47f69afc..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-int-123/output
+++ /dev/null
@@ -1 +0,0 @@
-[123] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-object/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-object/input
deleted file mode 100644
index a34fb4907..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-object/input
+++ /dev/null
@@ -1 +0,0 @@
-{"a":[]}
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-object/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-object/output
deleted file mode 100644
index 982abe826..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-object/output
+++ /dev/null
@@ -1 +0,0 @@
-{"a": []} \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-real/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-real/input
deleted file mode 100644
index 0fed7df36..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-real/input
+++ /dev/null
@@ -1 +0,0 @@
-[123.456789]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-real/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-real/output
deleted file mode 100644
index b02878e5f..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/simple-real/output
+++ /dev/null
@@ -1 +0,0 @@
-[123.456789] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/string-escapes/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/string-escapes/input
deleted file mode 100644
index d994564d3..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/string-escapes/input
+++ /dev/null
@@ -1 +0,0 @@
-["\"\\\/\b\f\n\r\t"]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/string-escapes/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/string-escapes/output
deleted file mode 100644
index ca5c1c658..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/string-escapes/output
+++ /dev/null
@@ -1 +0,0 @@
-["\"\\/\b\f\n\r\t"] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/three-byte-utf-8/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/three-byte-utf-8/input
deleted file mode 100644
index ccc0bfa57..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/three-byte-utf-8/input
+++ /dev/null
@@ -1 +0,0 @@
-["\u0821 three-byte UTF-8"]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/three-byte-utf-8/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/three-byte-utf-8/output
deleted file mode 100644
index c44d124e7..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/three-byte-utf-8/output
+++ /dev/null
@@ -1 +0,0 @@
-["ࠡ three-byte UTF-8"] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/true/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/true/input
deleted file mode 100644
index 29513c491..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/true/input
+++ /dev/null
@@ -1 +0,0 @@
-[true]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/true/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/true/output
deleted file mode 100644
index de601e305..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/true/output
+++ /dev/null
@@ -1 +0,0 @@
-[true] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/two-byte-utf-8/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/two-byte-utf-8/input
deleted file mode 100644
index 05ae854b5..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/two-byte-utf-8/input
+++ /dev/null
@@ -1 +0,0 @@
-["\u0123 two-byte UTF-8"]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/two-byte-utf-8/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/two-byte-utf-8/output
deleted file mode 100644
index 1f0988d94..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/two-byte-utf-8/output
+++ /dev/null
@@ -1 +0,0 @@
-["ģ two-byte UTF-8"] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/utf-8-string/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/utf-8-string/input
deleted file mode 100644
index 20dc64a45..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/utf-8-string/input
+++ /dev/null
@@ -1 +0,0 @@
-["€þıœəßð some utf-8 ĸʒ×ŋµåäö𝄞"]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/utf-8-string/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/utf-8-string/output
deleted file mode 100644
index 53728650d..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/utf-8-string/output
+++ /dev/null
@@ -1 +0,0 @@
-["€þıœəßð some utf-8 ĸʒ×ŋµåäö𝄞"] \ No newline at end of file
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/utf-surrogate-four-byte-encoding/input b/fluent-bit/lib/jansson-e23f558/test/suites/valid/utf-surrogate-four-byte-encoding/input
deleted file mode 100644
index c598b4172..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/utf-surrogate-four-byte-encoding/input
+++ /dev/null
@@ -1 +0,0 @@
-["\uD834\uDD1E surrogate, four-byte UTF-8"]
diff --git a/fluent-bit/lib/jansson-e23f558/test/suites/valid/utf-surrogate-four-byte-encoding/output b/fluent-bit/lib/jansson-e23f558/test/suites/valid/utf-surrogate-four-byte-encoding/output
deleted file mode 100644
index fa806d254..000000000
--- a/fluent-bit/lib/jansson-e23f558/test/suites/valid/utf-surrogate-four-byte-encoding/output
+++ /dev/null
@@ -1 +0,0 @@
-["𝄞 surrogate, four-byte UTF-8"] \ No newline at end of file