Fix bashisms

Besides, at least one test was probably incorrect,
trying to match /* with a single = in [[.
disasm: Add stub for ARM