#include "config.h"
#include <sys/types.h>
#include <unistd.h>
#include <iostream>
#include <string>
#include <fstream>
#include <iomanip>
#include <cassert>
#include <algorithm>
#include "asserts.h"
#include "error.h"
#include "fs.h"
#include "rconfig.h"
#include "logger.h"
#include "vaulter.h"
#include "archiver.h"
#include "cataloger.h"
#include "reporter.h"
#include "test-fs-cwd.h"
Go to the source code of this file.
Defines | |
#define | ERR_OUT(e) std::cerr << e |
Functions | |
bool | make_dir (const std::string &path) |
void | setup (void) |
void | cleanup (void) |
bool | test_inodes (const std::string &path1, const std::string &path2, const std::string &file) |
void | test_rvm (void) |
int | main (int argc, char const *argv[]) |
#define ERR_OUT | ( | e | ) | std::cerr << e |
Definition at line 29 of file test-rvm-002.cc.
void cleanup | ( | void | ) |
Definition at line 95 of file test-rvm-002.cc.
int main | ( | int | argc, | |
char const * | argv[] | |||
) |
Definition at line 245 of file test-rvm-002.cc.
References cleanup(), err_unknown, setup(), and test_rvm().
bool make_dir | ( | const std::string & | path | ) |
Definition at line 32 of file test-rvm-002.cc.
References mk_dir().
void setup | ( | void | ) |
Definition at line 50 of file test-rvm-002.cc.
References check_cwd, LOCAL_RSYNC, and make_dir().
bool test_inodes | ( | const std::string & | path1, | |
const std::string & | path2, | |||
const std::string & | file | |||
) |
Definition at line 103 of file test-rvm-002.cc.
References filestatus::inode(), filestatus::path(), and reform_path().
void test_rvm | ( | void | ) |
Definition at line 130 of file test-rvm-002.cc.
References archive_manager::archive(), archiver, catalog_manager::catalog(), cataloger, check_cwd, configuration_manager::clear(), log_manager::clear(), vault_manager::clear(), report_manager::clear(), archive_manager::clear(), catalog_manager::clear(), config, configuration_manager::default_file(), ERR_OUT, err_unknown, exists(), report_manager::file_report(), catalog_manager::init(), archive_manager::init(), report_manager::init(), vault_manager::init(), log_manager::init(), configuration_manager::init(), configuration_manager::jobs(), LOCAL_RSYNC, configuration_manager::log_dir(), logger, subdirectory::path(), reporter, report_manager::set_total_time(), timer::start(), timer::stop(), timestamp::str(), configuration_manager::timestamp(), vault_manager::vault(), and vaulter.