ref: 646d71d927f6836fe0616669f0355e754afe202b 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