#include "config.h"#include <iostream>#include <fstream>#include <string>#include <cassert>#include <unistd.h>#include <errno.h>#include "asserts.h"#include "types.h"#include "error.h"#include "estring.h"#include "fs.h"#include "tstamp.h"#include "rconfig.h"#include "timer.h"#include "logger.h"
Go to the source code of this file.
Defines | |
| #define | ERR_OUT(e) |
| #define | TEST(code, test) |
Functions | |
| bool | make_dir (const std::string &path) |
| void | cleanup (void) |
| void | setup (void) |
| const bool | same (std::string s1, std::string s2) |
| void | test (void) |
| int | main (int argc, char const *argv[]) |
| #define ERR_OUT | ( | e | ) |
Definition at line 26 of file test-logger.cc.
Referenced by test(), test1(), test2(), test3(), test_rvm(), test_vaulter(), test_vaulter1(), test_vaulter2(), and test_vaulter3().
| #define TEST | ( | code, | |||
| test | ) |
| void cleanup | ( | void | ) |
Definition at line 57 of file test-logger.cc.
| int main | ( | int | argc, | |
| char const * | argv[] | |||
| ) |
Definition at line 228 of file test-logger.cc.
References cleanup(), err_unknown, setup(), and test().

| bool make_dir | ( | const std::string & | path | ) |
Definition at line 42 of file test-logger.cc.
Referenced by setup().
| const bool same | ( | std::string | s1, | |
| std::string | s2 | |||
| ) |
Definition at line 82 of file test-logger.cc.
Referenced by job::common_pathname(), and test().
| void setup | ( | void | ) |
Definition at line 62 of file test-logger.cc.
Referenced by main().
| void test | ( | void | ) |
Definition at line 97 of file test-logger.cc.
References log_manager::clear(), config, configuration_manager::default_file(), configuration_manager::init(), log_manager::init(), logger, pid(), same(), stamp(), timestamp::str(), TEST, configuration_manager::timestamp(), VERSION, and log_manager::write().
Referenced by main().

1.6.1