freebsd-nq/tests/streamline.test
2014-07-18 06:49:18 +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