generate.test (6cec9cad762b6476313fb1f8e931a1647822db6b) generate.test (a0409676120c1e558d0ade943019934e0f15118d)
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
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 missmatch"
9 echo "Test: generate.res output mismatch"
10 exit 1
11fi
12rm ${TEST_OUT_DIR}/generate.out
13
10 exit 1
11fi
12rm ${TEST_OUT_DIR}/generate.out
13