templates / branches--on commit tests: move code to run tests under bash into a helper library (f8891cf)
   1: this is just to ensure the directory exists.