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