From fdb6d190b8f20cb442e64d18a406af670ce842f1 Mon Sep 17 00:00:00 2001 From: Daniel Thayer Date: Sun, 13 Oct 2013 20:31:48 -0500 Subject: [PATCH] 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. --- testing/btest/scripts/base/utils/active-http.test | 1 + 1 file changed, 1 insertion(+) diff --git a/testing/btest/scripts/base/utils/active-http.test b/testing/btest/scripts/base/utils/active-http.test index f547e7dd15..622e8ca46c 100644 --- a/testing/btest/scripts/base/utils/active-http.test +++ b/testing/btest/scripts/base/utils/active-http.test @@ -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