1 #!/bin/sh 2 3 export _JSON_C_STRERROR_ENABLE=1 4 5 # Common definitions 6 if test -z "$srcdir"; then 7 srcdir="${0%/*}" 8 test "$srcdir" = "$0" && srcdir=. 9 test -z "$srcdir" && srcdir=. 10 fi 11 . "$srcdir/test-defs.sh" 12 13 filename=$(basename "$0") 14 filename="${filename%.*}" 15 16 # This is only for the test_util_file.test ; 17 # more stuff could be extended 18 cp -f "$srcdir/valid.json" . 19 20 run_output_test $filename "$srcdir" 21 exit $?
This page was automatically generated by LXR 0.3.1. • OpenWrt