TEST 327 Bytes
# create empty flash
rm -f flash.img
$ROOT/usr/sbin/writeflash -l /dev/null -k /dev/null -b /dev/null
# set blocks 17 and 19 to be bad
env SIMOS_FLASH=./flash.img \
    SIMOS_FLASH_MAP="17 19" \
    SIMOS_DIR=../../simos \
    SIMOS_INIT=../../simos/TEST/init.simos \
    $ROOT/usr/sbin/simos << eof
b card
eof
rm -f flash.img