xref: /freebsd/contrib/one-true-awk/testdir/T.chem (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
1echo T.chem:  test chem.awk
2
3awk=${awk-../a.out}
4oldawk=${oldawk-awk}
5
6for i in lsd1.p penicil.p res.p
7do
8	$awk -f chem.awk $i >foo1
9	$oldawk -f chem.awk $i >foo2
10	diff foo1 foo2 || echo "BAD: T.chem on $i"
11done
12