twister

HTTP fault injector for testing
Log | Files | Refs | README | LICENSE

commit 7d8f5aa36b99f53cc0d2fa9e799c0a296bf9b3c3
parent 69740fffec9be655e6fc99203237b323f0330d00
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Fri,  7 Jun 2019 13:01:01 +0200

--enable-apikey-sandbox.

Diffstat:
Mconfigure.ac | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac @@ -424,6 +424,13 @@ AC_ARG_ENABLE([[doc]], test "x$enable_doc" = "xno" || enable_doc=yes AM_CONDITIONAL([ENABLE_DOC], [test "x$enable_doc" = "xyes"]) +# Check if --enable-apikey-sandbox was given. + +AC_MSG_CHECKING([whether all requests will have a apikey sandbox header]) +AC_ARG_ENABLE([apikey_sandbox], + [AS_HELP_STRING([--enable-apikey-sandbox], [Adds a "Autorization: ApiKey sandbox" header to requests])], + [AC_DEFINE(APIKEY_SANDBOX, , [Adds a "Autorization: ApiKey sandbox" header to requests])], + []) else