X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/2f17261da947e143d79d9c843a26eeb4b44ec385..e75e5879:/test/integration/framework?ds=inline diff --git a/test/integration/framework b/test/integration/framework index 3e159f6a9..8760f3db8 100644 --- a/test/integration/framework +++ b/test/integration/framework @@ -1205,7 +1205,7 @@ changetowebserver() { } changetohttpswebserver() { - if ! which stunnel4 >/dev/null; then + if ! command -v stunnel4 >/dev/null 2>&1; then msgdie 'You need to install stunnel4 for https testcases' fi if [ ! -e "${TMPWORKINGDIRECTORY}/aptarchive/aptwebserver.pid" ]; then