3 # Copyright (c) 2009 Petri Lehtinen <petri@digip.org>
5 # Jansson is free software; you can redistribute it and/or modify
6 # it under the terms of the MIT license. See LICENSE for details.
8 TESTFILES="${srcdir}/testdata/invalid ${srcdir}/testdata/invalid-unicode"
14 run_testprog $prog $prefix
15 if ! cmp $prefix.out $prefix.$prog.stderr >/dev/null; then
17 echo "### $prefix ($prog) failed:" >&2
19 echo "### expected output:" >&2
21 echo "### actual output:" >&2
22 cat $prefix.$prog.stderr >&2