summaryrefslogtreecommitdiffstats
path: root/nserver/tests/protocol_tests.c
blob: 2c4f60e74106dd34ab99aecc2c5f1c501b7ea5ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "minunit.h"
#include <protocol.h>

char *test_sscreate()
{
    int rc = 0;

    rc = sscreate("fuck");
    mu_assert(rc == 0, "sscreate failed");

    return NULL;
}

char *all_tests()
{
    mu_suite_start();

    mu_run_test(test_sscreate);

    return NULL;
}

RUN_TESTS(all_tests);