xref: /freebsd/contrib/libucl/tests/generate.test (revision a0409676120c1e558d0ade943019934e0f15118d)
197bd480fSBaptiste Daroussin#!/bin/sh
297bd480fSBaptiste Daroussin
397bd480fSBaptiste DaroussinPROG=${TEST_BINARY_DIR}/test_generate
497bd480fSBaptiste Daroussin
597bd480fSBaptiste Daroussin$PROG ${TEST_OUT_DIR}/generate.out
697bd480fSBaptiste Daroussindiff -s ${TEST_OUT_DIR}/generate.out ${TEST_DIR}/generate.res -u 2>/dev/null
797bd480fSBaptiste Daroussinif [ $? -ne 0 ] ; then
897bd480fSBaptiste Daroussin	rm ${TEST_OUT_DIR}/generate.out
9*a0409676SBaptiste Daroussin	echo "Test: generate.res output mismatch"
1097bd480fSBaptiste Daroussin	exit 1
1197bd480fSBaptiste Daroussinfi
1297bd480fSBaptiste Daroussinrm ${TEST_OUT_DIR}/generate.out
1397bd480fSBaptiste Daroussin
14