diff options
author | Matt Benjamin <mbenjamin@redhat.com> | 2015-10-27 00:57:58 +0100 |
---|---|---|
committer | Matt Benjamin <mbenjamin@redhat.com> | 2016-02-12 18:05:11 +0100 |
commit | ec89aafd2f31180fd732012776c3b6307b8d1a1b (patch) | |
tree | 2ed700bb989cb2b5bfc3d92ea923cde47bfe0db2 /src/test/librgw_file.cc | |
parent | librgw: fs->root_fh is a pointer (and assign it) (diff) | |
download | ceph-ec89aafd2f31180fd732012776c3b6307b8d1a1b.tar.xz ceph-ec89aafd2f31180fd732012776c3b6307b8d1a1b.zip |
librgw: don't create/delete in librgw_file.cc (unit test)
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | src/test/librgw_file.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/test/librgw_file.cc b/src/test/librgw_file.cc index 0ef919edf72..e7192c8e4de 100644 --- a/src/test/librgw_file.cc +++ b/src/test/librgw_file.cc @@ -55,18 +55,6 @@ TEST(LibRGW, MOUNT) { ASSERT_NE(fs, nullptr); } -TEST(LibRGW, CREATE_BUCKET) { - struct stat st; - struct rgw_file_handle* fh; - int ret = rgw_mkdir(fs, fs->root_fh, "sorry_dave", 755, &st, fh); - ASSERT_EQ(ret, 0); -} - -TEST(LibRGW, DELETE_BUCKET) { - int ret = rgw_unlink(fs, fs->root_fh, "sorry_dave"); - ASSERT_EQ(ret, 0); -} - extern "C" { static bool r1_cb(const char* name, void *arg, uint64_t offset) { // don't need arg--it would point to fids1 |