#! /bin/csh -f # # Copyright (C) 1992, Digital Equipment Corporation # All rights reserved. # See the file COPYRIGHT for a full description. # # Last modified on Mon Apr 29 15:39:58 PDT 1996 by heydon set arch = `/udir/heydon/libi/csh/m3arch` set prog = SolveTest if (-e ../$arch/$prog) then set newoutfile = /tmp/solvetest-$$.txt.out foreach outfile ($*) set infile = "$outfile:r".in ../$arch/$prog < $infile > $newoutfile echo "diff $outfile $newoutfile" diff $outfile $newoutfile rm $newoutfile end else echo "Unknown host type \"$arch\"" endif