Not sure how this got through. Anyway, fix test on platforms where sh is not bash.