ref: 2e793fb7dc56a7751348189a852d14597461ad54 dir: /test/asm/test.sh/
fname=$(mktemp) rc=0 for i in *.asm; do ../../rgbasm $i >$fname 2>&1 diff -u $fname ${i%.asm}.out rc=$(($? || $rc)) done exit $rc