File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/httpserver/
2121METASOURCES = AUTO
2222check_PROGRAMS = basic
2323
24- basic_SOURCES = basic.cpp
24+ basic_SOURCES = integ/ basic.cpp
2525
2626noinst_HEADERS = littletest.hpp
2727AM_CXXFLAGS += -lcurl -Wall -fPIC
Original file line number Diff line number Diff line change @@ -323,6 +323,13 @@ LT_BEGIN_AUTO_TEST(basic_suite, only_render)
323323 LT_ASSERT_EQ (res, 0 );
324324 curl_easy_cleanup (curl);
325325
326+ curl = curl_easy_init();
327+ curl_easy_setopt (curl, CURLOPT_URL, " localhost:8080/base" );
328+ curl_easy_setopt (curl, CURLOPT_CUSTOMREQUEST, " NOT_EXISTENT" );
329+ res = curl_easy_perform(curl);
330+ LT_ASSERT_EQ (res, 0 );
331+ curl_easy_cleanup (curl);
332+
326333 curl = curl_easy_init();
327334 curl_easy_setopt (curl, CURLOPT_URL, " localhost:8080/base" );
328335 curl_easy_setopt (curl, CURLOPT_POST, 1L );
You can’t perform that action at this time.
0 commit comments