test: Don't depend on /bin/bash

Our FreeBSD bots apparently don't have bash installed, and it's ok to run with
sh anyway!

Unblocks a snapshot
auto merge of #17730 : alexcrichton/rust/snapshot, r=thestinger

Our FreeBSD bots apparently don't have bash installed, and it's ok to run with
sh anyway!

Unblocks a snapshot