This commit adds bats tests that the RPM and Debian packages depend on
bash.

Relates elastic#18292