Ah, OK, I should set MACOSX... in the bash | line and do the test there.