/
githubmirror
/
libfastjson
Обзор
Документация
Войти
/
githubmirror
/
libfastjson
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/test2.test
22 строки
387 B
Eric Haszlakiewicz
Extend test1 and test2 to run using json_object_to_json_string_ext() based on an additional command line parameter.
28 апр 2012, 23:14
28 апр 2012, 23:14
4c7f38e
Код
Авторство
О чём код?
#!/bin/sh # Common definitions if test -z "$srcdir"; then srcdir="${0%/*}" test "$srcdir" = "$0" && srcdir=. test -z "$srcdir" && srcdir=. fi . "$srcdir/test-defs.sh" run_output_test test2 _err=$? for flag in plain spaced pretty ; do run_output_test -o test2Formatted_${flag} test2Formatted ${flag} _err2=$? if [ $_err -eq 0 ] ; then _err=$_err2 fi done exit $_err