Add mboxes

This commit is contained in:
Alex Young
2012-06-27 15:45:33 +01:00
parent 2078d17053
commit 94b4fa887c
34 changed files with 2534 additions and 1599 deletions

View File

@@ -1,13 +1,16 @@
#include <check.h>
#include <stdio.h>
#include "self_pipe.h"
#include "nbdtypes.h"
#include "serve.h"
#include "client.h"
#include <unistd.h>
#define FAKE_SERVER ((struct server *)23)
struct server fake_server = {0};
#define FAKE_SERVER &fake_server
#define FAKE_SOCKET (42)
START_TEST( test_assigns_socket )