Imported Upstream version 0.13.2+dsfg1

This commit is contained in:
Sebastian Ramacher 2016-02-24 00:16:51 +01:00
commit fb3990e9e5
2036 changed files with 287360 additions and 0 deletions

View file

@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0xed near '"'

View file

@ -0,0 +1 @@
["<22><><EFBFBD> <-- encoded surrogate half"]

View file

@ -0,0 +1,2 @@
1 3 3
unable to decode byte 0xe5 near '"\'

View file

@ -0,0 +1 @@
["\å"]

View file

@ -0,0 +1,2 @@
1 1 1
unable to decode byte 0xe5

View file

@ -0,0 +1 @@
[å]

View file

@ -0,0 +1,2 @@
1 4 4
unable to decode byte 0xe5 near '123'

View file

@ -0,0 +1 @@
[123å]

View file

@ -0,0 +1,2 @@
1 4 4
unable to decode byte 0xe5 near '"\u'

View file

@ -0,0 +1 @@
["\u<>"]

View file

@ -0,0 +1,2 @@
1 4 4
unable to decode byte 0xe5 near '1e1'

View file

@ -0,0 +1 @@
[1e1å]

View file

@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0xe5 near 'a'

View file

@ -0,0 +1 @@
[a蘊

View file

@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0xe5 near '0'

View file

@ -0,0 +1 @@
[0å]

View file

@ -0,0 +1,2 @@
1 3 3
unable to decode byte 0xe5 near '1e'

View file

@ -0,0 +1 @@
[1e蘊

View file

@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0xe5 near '"'

View file

@ -0,0 +1 @@
["å <-- invalid UTF-8"]

View file

@ -0,0 +1,2 @@
1 0 0
unable to decode byte 0xe5

View file

@ -0,0 +1 @@
<EFBFBD>

View file

@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0x81 near '"'

View file

@ -0,0 +1 @@
["<22>"]

View file

@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0xf4 near '"'

View file

@ -0,0 +1 @@
["<22><><EFBFBD><EFBFBD>"]

View file

@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0xe0 near '"'

View file

@ -0,0 +1 @@
["<22><><EFBFBD> <-- overlong encoding"]

View file

@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0xf0 near '"'

View file

@ -0,0 +1 @@
["<22><><EFBFBD><EFBFBD> <-- overlong encoding"]

View file

@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0xc1 near '"'

View file

@ -0,0 +1 @@
["<22>"]

View file

@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0xfd near '"'

View file

@ -0,0 +1 @@
["<22>"]

27
deps/jansson/test/suites/invalid-unicode/run vendored Executable file
View file

@ -0,0 +1,27 @@
#!/bin/sh
#
# Copyright (c) 2009-2013 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

View file

@ -0,0 +1,2 @@
1 2 2
unable to decode byte 0xe0 near '"'

View file

@ -0,0 +1 @@
["ŕ˙ <-- truncated UTF-8"]