1 #include "test/lib/common.hpp"
3 #define NULL_CSTR nullptr,0
5 TEST_CASE("memcached_regression_lp854604") {
8 REQUIRE(MEMCACHED_INVALID_ARGUMENTS
== libmemcached_check_configuration(NULL_CSTR
, NULL_CSTR
));
9 REQUIRE(MEMCACHED_INVALID_ARGUMENTS
== libmemcached_check_configuration(NULL_CSTR
, buffer
, 0));
10 for (auto i
= 0; i
< 100; ++i
) {
11 REQUIRE(MEMCACHED_PARSE_ERROR
== libmemcached_check_configuration(S("syntax error"), buffer
, random_num(0,1024)));