summaryrefslogtreecommitdiffstats
path: root/plugins/tests/test_check_swap.c
blob: 42ac00861a55fc1a4ee457b89e04dc1d283bf41c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

#include "../check_swap.d/check_swap.h"
#include "../../tap/tap.h"

void print_usage() {};
void print_help(swap_config config) {
	(void) config;
};

const char *progname = "test_check_swap";

int main() {

	swap_config config = swap_config_init();

	swap_result test_data = get_swap_data(config);

	plan_tests(1);

	ok(test_data.errorcode == 0, "Test whether we manage to retrieve swap data");
}