Test outlet is now functional
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
NADAL Jean-Baptiste
2020-02-24 16:39:30 +01:00
parent e4de72a4f6
commit 8e7e94568f
14 changed files with 456 additions and 81 deletions

View File

@@ -30,6 +30,8 @@
#define kput_method "PUT"
#define kdelete_method "DELETE"
#define kserver_port "7777"
/*--------------------------------------------------------------------------*/
int rows_eq(int *a, int *b)
@@ -239,7 +241,8 @@ int exec_request(const char *request, const char *path, int expected_code, const
if (resp_body == NULL)
{
res = 1;
if (expected_code != 204)
res = 1;
}
else
{