#!/bin/sh # Copyright (c) 1995, Masanao Izumo for f in *.qh; do echo "test: $f" tmpfile=`echo $f | sed -e 's/\.qh$/\.tmp/g'` resfile=`echo $f | sed -e 's/\.qh$/\.res/g'` ../../qh -q -O $f > $tmpfile if [ $? -ne 0 ]; then echo "*** Error: $f" else diff $tmpfile $resfile if [ $? -ne 0 ]; then echo "*** Error: $f" fi fi rm -f $tmpfile done echo All tests are done.