]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REGTESTS: use "command -v" instead of "which"
authorWilly Tarreau <w@1wt.eu>
Tue, 18 Feb 2020 13:42:33 +0000 (14:42 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 18 Feb 2020 13:45:22 +0000 (14:45 +0100)
commitb5e62679aaf1369b9a8f5604d8ab438e6bc70e2d
treefc2813bb2a5423a85d2a6a36e6644000d5a793e7
parent70df7bf19cebd5593c0abb01923e6c9f72961da6
REGTESTS: use "command -v" instead of "which"

Ilya reported that the "which" utility is not that much portable and is
absent from Fedora. "type -p" is not portable either, and the correct
solution appears to be "command -v", so let's use this for now, we can
change it again in the future in case of problems.

Link: https://www.mail-archive.com/haproxy@formilux.org/msg36332.html
reg-tests/compression/lua_validation.vtc