#include "include/rados/librados.hpp"
#include "test/librados/test.h"
#include "test/librados/TestCase.h"
+#include "test/unit.h"
#include "include/encoding.h"
#include "tools/cephfs/DataScan.h"
#include "global/global_init.h"
typedef RadosTestPP TmapMigratePP;
TEST_F(TmapMigratePP, DataScan) {
- std::vector<const char *> args;
- global_init(NULL, args, CEPH_ENTITY_TYPE_CLIENT, CODE_ENVIRONMENT_UTILITY, 0);
- common_init_finish(g_ceph_context);
-
// DataScan isn't namespace-aware, so override RadosTestPP's default
// behaviour of putting everything into a namespace
ioctx.set_namespace("");