Add check for curl command to active-http.test

Added a check if the curl command is available when running the
active-http.test so that it fails more quickly and with a clear error
message if it's not available.
This commit is contained in:
Daniel Thayer 2013-10-13 20:31:48 -05:00
parent 1a9835a00a
commit fdb6d190b8

View file

@ -1,5 +1,6 @@
# @TEST-REQUIRES: which python
#
# @TEST-EXEC: which curl
# @TEST-EXEC: btest-bg-run httpd python $SCRIPTS/httpd.py --max 1
# @TEST-EXEC: sleep 3
# @TEST-EXEC: btest-bg-run bro bro -b %INPUT