#!/bin/bash # Test: JSON parser tests PROG=../lib/src/clixon_util_json # include err() and new() functions and creates $dir . ./lib.sh new "json parse" expecteof $PROG 0 '{"foo": -23}' "^-23$" new "json parse list" expecteof $PROG 0 '{"a":[0,1,2,3]}' "^0123$" rm -rf $dir