test-rvm-001.cc File Reference

#include "config.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"

Include dependency graph for test-rvm-001.cc:

Go to the source code of this file.


#define ERR_OUT(e)   std::cerr << e


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 *argv[])

Define Documentation

#define ERR_OUT  )     std::cerr << e

Definition at line 26 of file test-rvm-001.cc.

Function Documentation

void cleanup void   ) 

Definition at line 88 of file test-rvm-001.cc.

int main int  argc,
char *  argv[]

Definition at line 691 of file test-rvm-001.cc.

References cleanup(), err_unknown, setup(), and test_rvm().

Here is the call graph for this function:

bool make_dir const std::string &  path  ) 

Definition at line 29 of file test-rvm-001.cc.

References mk_dir().

Here is the call graph for this function:

void setup void   ) 

Definition at line 47 of file test-rvm-001.cc.

References check_cwd, LOCAL_RSYNC, and make_dir().

Here is the call graph for this function:

bool test_inodes const std::string &  path1,
const std::string &  path2,
const std::string &  file

Definition at line 93 of file test-rvm-001.cc.

References filestatus::inode(), filestatus::path(), and reform_path().

Referenced by test_rvm().

Here is the call graph for this function:

void test_rvm void   ) 

Definition at line 120 of file test-rvm-001.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(), test_inodes(), configuration_manager::timestamp(), vault_manager::vault(), and vaulter.

Referenced by main().

Here is the call graph for this function:

Generated on Fri Jun 23 16:52:53 2006 for rvm by  doxygen 1.4.2