correct run-readtest.sh for use on OS X as well