Import ubus tools.

This commit is contained in:
2016-02-26 22:16:27 +01:00
parent 2c3ca52e41
commit 6bc8cdeef3
200 changed files with 23469 additions and 0 deletions

22
3P/json/tests/test2.test Executable file
View File

@@ -0,0 +1,22 @@
#!/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