ref: 59c065cf31c2ee983996cbee5fb1b97e720150c5 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