adapt unittests to new pcp context stuff

This commit is contained in:
git@daemon.de
2014-05-05 11:57:57 +02:00
parent 86e815346a
commit 01f149d4f1
6 changed files with 76 additions and 64 deletions

View File

@@ -4,6 +4,7 @@
int main() {
/* testing basic Buffer api */
Buffer *test = buffer_new(16, "test");
PCPCTX *ptx = ptx_new();
byte *a = ucmalloc(32);
byte *b = ucmalloc(32);
@@ -92,7 +93,7 @@ int main() {
munmap(r, rs);
fclose(RFD);
fatals_ifany();
fatals_ifany(ptx);
return 0;
}