X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Flibmemcached-1.0%2Fparser.cc;h=b5204a83a712d5c8d7f471c5f2bc84f4c3fa6e12;hb=de6f641f28758fdbc7890735370adc961a34dc1d;hp=d2be9a17208c044d4c67e89c8315e39349634ee7;hpb=1f483f29cd415fdb749a5571d9e1483dd11a2ab0;p=m6w6%2Flibmemcached diff --git a/tests/libmemcached-1.0/parser.cc b/tests/libmemcached-1.0/parser.cc index d2be9a17..b5204a83 100644 --- a/tests/libmemcached-1.0/parser.cc +++ b/tests/libmemcached-1.0/parser.cc @@ -35,8 +35,8 @@ * */ -#include -#include +#include "mem_config.h" +#include "libtest/test.hpp" using namespace libtest; @@ -44,11 +44,11 @@ using namespace libtest; #include #include -#include -#include +#include "libmemcached-1.0/memcached.h" +#include "libmemcachedutil-1.0/util.h" -#include -#include +#include "tests/libmemcached-1.0/parser.h" +#include "tests/print.h" #include "libmemcached/instance.hpp" enum scanner_type_t @@ -356,7 +356,7 @@ test_return_t libmemcached_check_configuration_with_filename_test(memcached_st*) libmemcached_check_configuration(test_literal_param("--CONFIGURE-FILE=\"support/example.cnf\""), buffer, sizeof(buffer)), buffer); - test_compare_hint(MEMCACHED_SUCCESS, + test_compare_hint(MEMCACHED_PARSE_ERROR, libmemcached_check_configuration(test_literal_param("--CONFIGURE-FILE=support/example.cnf"), buffer, sizeof(buffer)), buffer);