mirror of
https://github.com/json-c/json-c.git
synced 2026-09-07 08:36:50 +08:00
Merge pull request #960 from Max13245/fix/test-json-parse-cli
Fix test_json_parse_cli
This commit is contained in:
@@ -38,9 +38,10 @@ set(ALL_TEST_NAMES
|
||||
test_visit
|
||||
test_object_iterator)
|
||||
|
||||
set(NOBUILD_TEST_NAMES
|
||||
test_json_parse_cli
|
||||
)
|
||||
set(NOBUILD_TEST_NAMES "")
|
||||
if (BUILD_APPS)
|
||||
set(NOBUILD_TEST_NAMES ${NOBUILD_TEST_NAMES} test_json_parse_cli)
|
||||
endif()
|
||||
|
||||
if (NOT DISABLE_JSON_POINTER)
|
||||
set(ALL_TEST_NAMES ${ALL_TEST_NAMES} test_json_pointer)
|
||||
|
||||
@@ -10,7 +10,7 @@ fi
|
||||
|
||||
set -x -v
|
||||
|
||||
echo -n '"tenant=blue;note=CANARY_STACK_WINDOW_2026;status=ok"' > file1.dat
|
||||
printf '%s' '"tenant=blue;note=CANARY_STACK_WINDOW_2026;status=ok"' > file1.dat
|
||||
(printf '"' ; printf 'A%.0s' $(seq 1 16) ; echo 'e2' | xxd -r -p) > file2.dat
|
||||
|
||||
TESTNAME="${0##*/}"
|
||||
|
||||
Reference in New Issue
Block a user