girara
Data Structures | Defines | Functions
.pc/fix-errno-usage/tests/test_utils.c File Reference
#include <check.h>
#include <glib.h>
#include <glib/gstdio.h>
#include <sys/types.h>
#include <pwd.h>
#include <errno.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include "../utils.h"
#include "../datastructures.h"

Go to the source code of this file.

Data Structures

struct  pwd_info_t

Defines

#define _BSD_SOURCE
#define _POSIX_SOURCE

Functions

 START_TEST (test_home_directory)
END_TEST START_TEST (test_fix_path_basic)
END_TEST START_TEST (test_fix_path_extended)
 START_TEST (test_xdg_path)
END_TEST START_TEST (test_file_invariants)
END_TEST START_TEST (test_file_read)
END_TEST START_TEST (test_safe_realloc)
END_TEST START_TEST (test_split_path)
END_TEST Suite * suite_utils ()

Define Documentation

#define _BSD_SOURCE

Definition at line 3 of file test_utils.c.

#define _POSIX_SOURCE

Definition at line 4 of file test_utils.c.


Function Documentation

START_TEST ( test_home_directory  )

Definition at line 59 of file test_utils.c.

END_TEST START_TEST ( test_fix_path_basic  )

Definition at line 99 of file test_utils.c.

END_TEST START_TEST ( test_fix_path_extended  )

Definition at line 111 of file test_utils.c.

START_TEST ( test_xdg_path  )

Definition at line 163 of file test_utils.c.

END_TEST START_TEST ( test_file_invariants  )

Definition at line 170 of file test_utils.c.

END_TEST START_TEST ( test_file_read  )

Definition at line 179 of file test_utils.c.

END_TEST START_TEST ( test_safe_realloc  )

Definition at line 214 of file test_utils.c.

END_TEST START_TEST ( test_split_path  )

Definition at line 226 of file test_utils.c.

END_TEST Suite* suite_utils ( )

Definition at line 244 of file test_utils.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines