test: avoid using pipes in certain cases
authorFrantisek Sumsal <frantisek@sumsal.cz>
Fri, 16 Apr 2021 16:37:49 +0000 (18:37 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Fri, 16 Apr 2021 17:05:42 +0000 (19:05 +0200)
commita33e2692e162671f0d97856ad2f49a2620a1ec10
treeabbc8df897c9fa24f69a87983e9ae1a3cfe99dc5
parent96af59aabb6f66b289347c1fc3ba204c85547710
test: avoid using pipes in certain cases

`command -v <bin> | grep ...` can under certain conditions cause the
`command` to exit with SIGPIPE, which in combination with `set -o
pipefail` means that the tests sometimes randomly die during setup.
Let's avoid using pipes in such cases.
test/test-functions