xref: /freebsd/contrib/libucl/tests/streamline.test (revision a0409676120c1e558d0ade943019934e0f15118d)
13dcf5eb7SBaptiste Daroussin#!/bin/sh
23dcf5eb7SBaptiste Daroussin
33dcf5eb7SBaptiste DaroussinPROG=${TEST_BINARY_DIR}/test_streamline
43dcf5eb7SBaptiste Daroussin
53dcf5eb7SBaptiste Daroussin$PROG ${TEST_OUT_DIR}/streamline.out
63dcf5eb7SBaptiste Daroussindiff -s ${TEST_OUT_DIR}/streamline.out ${TEST_DIR}/streamline.res -u 2>/dev/null
73dcf5eb7SBaptiste Daroussinif [ $? -ne 0 ] ; then
83dcf5eb7SBaptiste Daroussin	rm ${TEST_OUT_DIR}/streamline.out
9*a0409676SBaptiste Daroussin	echo "Test: streamline.res output mismatch"
103dcf5eb7SBaptiste Daroussin	exit 1
113dcf5eb7SBaptiste Daroussinfi
123dcf5eb7SBaptiste Daroussinrm ${TEST_OUT_DIR}/streamline.out