10 lines
282 B
Bash
Executable File
10 lines
282 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" ; exit 1 )
|
|
done
|