shithub: riscv

ref: f88a55e79b5bf656e7f9578d1318a955b9a4963a
dir: /sys/src/cmd/diff/test/merge.rc/

View raw version
#!/bin/rc

tests=`{seq 11}
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}
}