int main (int argc, char *argv[]) { TempDir dir; CopyDevice device(dir.path().c_str()); FilesystemImpl fsimpl(&device); Fuse fuse(&fsimpl); std::cout << "CopyFS initialized\nBase directory: " << dir.path().c_str() << std::endl; fuse.run(argc, argv); return 0; }
void DirTest::tearDown( void ) { Dir d( _sandbox->path() ); delete _sandbox; CPPUNIT_ASSERT( ! d.exists() ); }