diff --git a/.drone.yml b/.drone.yml index 588e576..f936c32 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,7 +11,7 @@ steps: commands: - git clone ssh://git@git.nadal-fr.com:222/domo/domo-iot.git - git clone ssh://git@git.nadal-fr.com:222/domo/qlibc.git - - git clone ssh://git@git.nadal-fr.com:222/domo/libevent.git + - git clone -b 'release-2.1.11-stable' --single-branch --depth 1 ssh://git@git.nadal-fr.com:222/domo/libevent.git - git clone ssh://git@git.nadal-fr.com:222/domo/nats.c.git - git clone ssh://git@git.nadal-fr.com:222/domo/json-c.git - patch -d nats.c -p1 < domo-iot/patches/nats.c.patch diff --git a/src/tests/test_rest.c b/src/tests/test_rest.c index 90bcaa2..9b8cb8c 100644 --- a/src/tests/test_rest.c +++ b/src/tests/test_rest.c @@ -471,7 +471,7 @@ TEST("Rest - Test Web server part.\t") ASSERT_EQUAL_INT(ret, 0); } - ret = exec_request(kput_method, "http://localhost:" kserver_port "/not_found.html", 404, "", "404 Not Found

404 Not Found

", false); + ret = exec_request(kput_method, "http://localhost:" kserver_port "/not_found.html", 404, "", "\n404 Not Found\n\n

Not Found

\n\n", false); ASSERT_EQUAL_INT(ret, 0); restd_server_free(rest_server);