Fix build failed and test failed
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2020-03-12 22:31:57 +01:00
parent 8c98d5c14d
commit 37cf58ba2d
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ steps:
commands: commands:
- git clone ssh://git@git.nadal-fr.com:222/domo/domo-iot.git - 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/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/nats.c.git
- git clone ssh://git@git.nadal-fr.com:222/domo/json-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 - patch -d nats.c -p1 < domo-iot/patches/nats.c.patch

View File

@@ -471,7 +471,7 @@ TEST("Rest - Test Web server part.\t")
ASSERT_EQUAL_INT(ret, 0); ASSERT_EQUAL_INT(ret, 0);
} }
ret = exec_request(kput_method, "http://localhost:" kserver_port "/not_found.html", 404, "", "<html><head><title>404 Not Found</title></head><body><h1>404 Not Found</h1></body></html>", false); ret = exec_request(kput_method, "http://localhost:" kserver_port "/not_found.html", 404, "", "<HTML><HEAD>\n<TITLE>404 Not Found</TITLE>\n</HEAD><BODY>\n<H1>Not Found</H1>\n</BODY></HTML>\n", false);
ASSERT_EQUAL_INT(ret, 0); ASSERT_EQUAL_INT(ret, 0);
restd_server_free(rest_server); restd_server_free(rest_server);