tests: Get check_serve working after the merge of doom
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
#define _GNU_SOURCE
|
||||
#define _LARGEFILE64_SOURCE
|
||||
|
||||
#include "util.h"
|
||||
|
||||
#include "serve.h"
|
||||
#include "self_pipe.h"
|
||||
#include "client.h"
|
||||
@@ -140,7 +145,7 @@ START_TEST( test_acl_update_closes_bad_client )
|
||||
|
||||
server_accept( s );
|
||||
|
||||
pthread_join( entry->thread );
|
||||
pthread_join( entry->thread, NULL );
|
||||
|
||||
myfail_unless( fd_is_closed(server_fd),
|
||||
"Client socket wasn't closed." );
|
||||
@@ -216,7 +221,7 @@ Suite* serve_suite()
|
||||
|
||||
int main(void)
|
||||
{
|
||||
set_debug(1);
|
||||
log_level = 0;
|
||||
int number_failed;
|
||||
Suite *s = serve_suite();
|
||||
SRunner *sr = srunner_create(s);
|
||||
|
Reference in New Issue
Block a user