1*23f24377SWarner Loshfor i in $* 2*23f24377SWarner Loshdo 3*23f24377SWarner Losh echo $i >/dev/tty 4*23f24377SWarner Losh echo $i '<<<' 5*23f24377SWarner Losh cd .. 6*23f24377SWarner Losh echo testdir/$i: 7*23f24377SWarner Losh ind <testdir/$i 8*23f24377SWarner Losh a.out -f testdir/$i >drek.c 9*23f24377SWarner Losh cat drek.c 10*23f24377SWarner Losh make drek || ( echo $i ' ' bad compile; echo $i ' ' bad compile >/dev/tty; continue ) 11*23f24377SWarner Losh cd testdir 12*23f24377SWarner Losh time awk -f $i test.data >foo1 13*23f24377SWarner Losh time ../drek test.data >foo2 14*23f24377SWarner Losh cmp foo1 foo2 || ( echo $i ' ' bad; echo $i ' ' bad >/dev/tty; diff foo1 foo2 ) 15*23f24377SWarner Losh echo '>>>' $i 16*23f24377SWarner Losh echo 17*23f24377SWarner Loshdone 18