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 export JSON_SORT_KEYS=1
15 $json_process <$test_path/input >$test_log/stdout 2>$test_log/stderr
16 valgrind_check $test_log/stderr || return 1
17 cmp -s $test_path/output $test_log/stdout
21 valgrind_show_error && return
23 echo "EXPECTED OUTPUT:"
24 nl -bn $test_path/output
26 nl -bn $test_log/stdout
29 . $top_srcdir/test/scripts/run-tests.sh