diff options
Diffstat (limited to 'tests/stress.sh')
-rwxr-xr-x | tests/stress.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/stress.sh b/tests/stress.sh index 9c9393d3b7..cef5327776 100755 --- a/tests/stress.sh +++ b/tests/stress.sh @@ -1,6 +1,12 @@ #!/bin/bash # SPDX-License-Identifier: GPL-3.0-or-later +if ! hash curl 2>/dev/null +then + 1>&2 echo "'curl' not found on system. Please install 'curl'." + exit 1 +fi + # set the host to connect to if [ ! -z "$1" ] then |