1#!/bin/sh 2 3# test for "regular" files 4# captures stdout with no post-processing 5 6PROG=$1 7BASE=`echo $PROG | sed s/.sno//` 8STATUS=1 9# 10if $SNOBOL $ARGS -r $PROG > ${BASE}.tmp 2>/dev/null; then 11 if cmp ${BASE}.ref ${BASE}.tmp; then 12 STATUS=0 13 rm -f ${BASE}.tmp 14 fi 15fi 16# 17# 18exit $STATUS 19 20