1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2026-04-20 19:17:24 +02:00

Add Jansson vendor library.

This commit is contained in:
Sandu Liviu Catalin
2021-07-06 17:16:28 +03:00
parent a268756153
commit e5e179e6ba
350 changed files with 18728 additions and 1 deletions
@@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0xed near '"'
@@ -0,0 +1 @@
[" <-- encoded surrogate half"]
@@ -0,0 +1,2 @@
1 3 3
unable to decode byte 0xe5 near '"\'
@@ -0,0 +1 @@
["\å"]
@@ -0,0 +1,2 @@
1 1 1
unable to decode byte 0xe5
@@ -0,0 +1 @@
[å]
@@ -0,0 +1,2 @@
1 4 4
unable to decode byte 0xe5 near '123'
@@ -0,0 +1 @@
[123å]
@@ -0,0 +1,2 @@
1 4 4
unable to decode byte 0xe5 near '"\u'
@@ -0,0 +1 @@
["\u"]
@@ -0,0 +1,2 @@
1 4 4
unable to decode byte 0xe5 near '1e1'
@@ -0,0 +1 @@
[1e1å]
@@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0xe5 near 'a'
@@ -0,0 +1 @@
[a蘊
@@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0xe5 near '0'
@@ -0,0 +1 @@
[0å]
@@ -0,0 +1,2 @@
1 3 3
unable to decode byte 0xe5 near '1e'
@@ -0,0 +1 @@
[1e蘊
@@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0xe5 near '"'
@@ -0,0 +1 @@
["å <-- invalid UTF-8"]
@@ -0,0 +1,2 @@
1 0 0
unable to decode byte 0xe5
@@ -0,0 +1 @@
@@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0x81 near '"'
@@ -0,0 +1 @@
[""]
@@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0xf4 near '"'
@@ -0,0 +1 @@
[""]
@@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0xe0 near '"'
@@ -0,0 +1 @@
[" <-- overlong encoding"]
@@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0xf0 near '"'
@@ -0,0 +1 @@
[" <-- overlong encoding"]
@@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0xc1 near '"'
@@ -0,0 +1 @@
[""]
@@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0xfd near '"'
@@ -0,0 +1 @@
[""]
+27
View File
@@ -0,0 +1,27 @@
#!/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
@@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0xe0 near '"'
@@ -0,0 +1 @@
["ŕ˙ <-- truncated UTF-8"]