xref: /freebsd/contrib/libucl/tests/schema.test (revision f4b37ed0f8b307b1f3f0f630ca725d68f1dff30d)
1#!/bin/sh
2
3PROG=${TEST_BINARY_DIR}/test_schema
4rm /tmp/_ucl_test_schema.out ||true
5for i in ${TEST_DIR}/schema/*.json ; do
6	_name=`basename $i`
7	printf "running schema test suite $_name... "
8	$PROG >> /tmp/_ucl_test_schema.out < $i && ( echo "OK" ) || ( echo "Fail" ; exit 1 )
9done
10