summaryrefslogtreecommitdiffstats
path: root/src/test/librados/librados.cc
blob: c688724da5199282a55769b50407d35c980e81c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//#include "common/config.h"
#include "include/rados/librados.h"

#include "gtest/gtest.h"

TEST(Librados, CreateShutdown) {
  rados_t cluster;
  int err;
  err = rados_create(&cluster, "someid");
  EXPECT_EQ(err, 0);

  rados_shutdown(cluster);
}