xref: /freebsd/contrib/libucl/tests/streamline.test (revision 3dcf5eb70598c88befd62f61f81e283e568ec519)
1*3dcf5eb7SBaptiste Daroussin#!/bin/sh
2*3dcf5eb7SBaptiste Daroussin
3*3dcf5eb7SBaptiste DaroussinPROG=${TEST_BINARY_DIR}/test_streamline
4*3dcf5eb7SBaptiste Daroussin
5*3dcf5eb7SBaptiste Daroussin$PROG ${TEST_OUT_DIR}/streamline.out
6*3dcf5eb7SBaptiste Daroussindiff -s ${TEST_OUT_DIR}/streamline.out ${TEST_DIR}/streamline.res -u 2>/dev/null
7*3dcf5eb7SBaptiste Daroussinif [ $? -ne 0 ] ; then
8*3dcf5eb7SBaptiste Daroussin	rm ${TEST_OUT_DIR}/streamline.out
9*3dcf5eb7SBaptiste Daroussin	echo "Test: streamline.res output missmatch"
10*3dcf5eb7SBaptiste Daroussin	exit 1
11*3dcf5eb7SBaptiste Daroussinfi
12*3dcf5eb7SBaptiste Daroussinrm ${TEST_OUT_DIR}/streamline.out