|
Greenbone Vulnerability Management Libraries 22.30.0
|
#include "../util/fileutils.h"#include "pidfile.c"#include <cgreen/cgreen.h>#include <cgreen/mocks.h>#include <glib.h>#include <sys/stat.h>#include <unistd.h>Functions | |
| Describe (pidfile) | |
| BeforeEach (pidfile) | |
| AfterEach (pidfile) | |
| Ensure (pidfile, pidfile_create_returns_error_for_null_path) | |
| Ensure (pidfile, pidfile_create_creates_file_with_correct_pid) | |
| Ensure (pidfile, pidfile_create_creates_directory_if_needed) | |
| Ensure (pidfile, pidfile_create_returns_error_when_cannot_create_file) | |
| Ensure (pidfile, pidfile_remove_deletes_file_with_matching_pid) | |
| Ensure (pidfile, pidfile_remove_does_not_delete_file_with_different_pid) | |
| Ensure (pidfile, pidfile_remove_handles_nonexistent_file) | |
| int | main (int argc, char **argv) |
| AfterEach | ( | pidfile | ) |
| BeforeEach | ( | pidfile | ) |
| Describe | ( | pidfile | ) |
| Ensure | ( | pidfile | , |
| pidfile_create_creates_directory_if_needed | ) |
| Ensure | ( | pidfile | , |
| pidfile_create_creates_file_with_correct_pid | ) |
| Ensure | ( | pidfile | , |
| pidfile_create_returns_error_for_null_path | ) |
| Ensure | ( | pidfile | , |
| pidfile_create_returns_error_when_cannot_create_file | ) |
| Ensure | ( | pidfile | , |
| pidfile_remove_deletes_file_with_matching_pid | ) |
| Ensure | ( | pidfile | , |
| pidfile_remove_does_not_delete_file_with_different_pid | ) |
| Ensure | ( | pidfile | , |
| pidfile_remove_handles_nonexistent_file | ) |
| int main | ( | int | argc, |
| char ** | argv ) |