mirror of
https://github.com/opnsense/src.git
synced 2026-02-17 01:31:45 -05:00
9 lines
282 B
Bash
Executable file
9 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
|