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