freebsd-skq/contrib/libucl/tests/schema.test
bapt b471b8e16d Update to 20140321
This brings schema validation

MFC after:	1 week
2014-03-22 17:28:14 +00:00

10 lines
273 B
Bash
Executable File

#!/bin/sh
PROG=${TEST_BINARY_DIR}/test_schema
rm /tmp/_ucl_test_schema.out ||true
for i in ${TEST_DIR}/schema/*.json ; do
_name=`basename $i`
printf "running schema test suite $_name... "
$PROG >> /tmp/_ucl_test_schema.out < $i && ( echo "OK" ) || ( echo "Fail" )
done