From 483eb2f56657e8e7f419ab1a4fab8dce9ade8609 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 20:24:20 +0200 Subject: Adding upstream version 14.2.21. Signed-off-by: Daniel Baumann --- src/test/librados/librados.cc | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/test/librados/librados.cc (limited to 'src/test/librados/librados.cc') diff --git a/src/test/librados/librados.cc b/src/test/librados/librados.cc new file mode 100644 index 00000000..c688724d --- /dev/null +++ b/src/test/librados/librados.cc @@ -0,0 +1,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); +} -- cgit v1.2.3