ref: 0030e0371aa715e12ffc37b93399bd29443208ec 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