3 # Copyright (c) 2009-2011 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.
13 $json_process <$test_path/input >$test_log/stdout 2>$test_log/stderr
14 valgrind_check $test_log/stderr || return 1
15 cmp -s $test_path/error $test_log/stderr
19 valgrind_show_error && return
21 echo "EXPECTED ERROR:"
22 nl -bn $test_path/error
24 nl -bn $test_log/stderr
27 . $top_srcdir/test/scripts/run-tests.sh