1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/contrib/libucl/tests/streamline.test
Baptiste Daroussin 3dcf5eb705 Update libucl to the 2014-07-16 snapshot
This update brings streamlined ucl emitter support
2014-07-18 06:58:01 +00:00

12 lines
318 B
Bash
Executable File

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