Fix tests on systems where /bin/sh is actually a stripped-down shell.