insns.pl: use less cantankerous string expansion; better error info
[nasm.git] / test / new
blob403b4fb7cc4179011f4c3ae9055271bedf9aac6c
1 #!/bin/sh
2 for f; do
3 if [ -e "$f".asm ]; then
4 # For safety...
5 echo "$0: $f already exists" 1>&2
6 exit 1
7 fi
8 echo ";Testname=test; Arguments=-fbin -o$f.bin; Files=stdout stderr $f.bin" > "$f".asm
9 done