3 mydir=$(dirname $(readlink -f $BASH_SOURCE))
4 pgdir=$(dirname $mydir)
5 cfgdir=$(dirname $pgdir)
8 for jsfile in $mydir/test*.jsonnet
10 dat="$(jsonnet -J $cfgdir $jsfile 2>/dev/null)"
11 if [ -z "$dat" -o "$?" != "0" ] ; then
12 errors="$jsfile $errors"
16 if [ -n "$errors" ] ; then
18 for one in $errors; do