dotest bash file done on macos