ref: 1656d16bea8cb893b47ac0fe29eabf3777d5a3e3
dir: /sys/src/cmd/diff/test/merge.rc/
#!/bin/rc
tests=`{seq 13}
for(t in $tests){
echo ../$O.merge3 merge-t$t.l merge-t$t.c merge-t$t.r
../$O.merge3 merge-t$t.l merge-t$t.c merge-t$t.r > merge-t$t.out
cmp merge-t$t.out merge-t$t.expected #|| {echo 'failed '$t; exit failed}
}