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

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

14 lines
306 B
Bash
Executable File

#!/bin/sh
PROG=${TEST_BINARY_DIR}/test_generate
$PROG ${TEST_OUT_DIR}/generate.out
diff -s ${TEST_OUT_DIR}/generate.out ${TEST_DIR}/generate.res -u 2>/dev/null
if [ $? -ne 0 ] ; then
rm ${TEST_OUT_DIR}/generate.out
echo "Test: generate.res output missmatch"
exit 1
fi
rm ${TEST_OUT_DIR}/generate.out