1#!/bin/sh 2 3PROG=${TEST_BINARY_DIR}/test_generate 4 5$PROG ${TEST_OUT_DIR}/generate.out 6diff -s ${TEST_OUT_DIR}/generate.out ${TEST_DIR}/generate.res -u 2>/dev/null 7if [ $? -ne 0 ] ; then 8 rm ${TEST_OUT_DIR}/generate.out 9 echo "Test: generate.res output mismatch" 10 exit 1 11fi 12rm ${TEST_OUT_DIR}/generate.out 13 14