From: Greg Farnum Date: Mon, 26 Sep 2016 21:24:05 +0000 (-0700) Subject: test: temporarily disable tests which relied on MDS' incorrect GID-adding behavior X-Git-Tag: v11.0.1~36^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6da13e9670b0e3dae29c4a1a1fe8fd5498173a7b;p=ceph.git test: temporarily disable tests which relied on MDS' incorrect GID-adding behavior Signed-off-by: Greg Farnum --- diff --git a/src/test/libcephfs/access.cc b/src/test/libcephfs/access.cc index 7574d2599d5a..ebdf499aaabb 100644 --- a/src/test/libcephfs/access.cc +++ b/src/test/libcephfs/access.cc @@ -308,9 +308,10 @@ TEST(AccessTest, User) { // chown and chgrp ASSERT_EQ(0, ceph_chmod(admin, dir.c_str(), 0700)); ASSERT_EQ(0, ceph_chown(admin, dir.c_str(), 123, 456)); - ASSERT_EQ(0, ceph_chown(cmount, dir.c_str(), 123, 789)); + // FIXME: Re-enable these 789 tests once we can set multiple GIDs via libcephfs/config + // ASSERT_EQ(0, ceph_chown(cmount, dir.c_str(), 123, 789)); ASSERT_EQ(0, ceph_chown(cmount, dir.c_str(), 123, 456)); - ASSERT_EQ(0, ceph_chown(cmount, dir.c_str(), -1, 789)); + // ASSERT_EQ(0, ceph_chown(cmount, dir.c_str(), -1, 789)); ASSERT_EQ(0, ceph_chown(cmount, dir.c_str(), -1, 456)); ASSERT_EQ(-EACCES, ceph_chown(cmount, dir.c_str(), 123, 1)); ASSERT_EQ(-EACCES, ceph_chown(cmount, dir.c_str(), 1, 456)); @@ -327,7 +328,7 @@ TEST(AccessTest, User) { ASSERT_EQ(0, ceph_chown(admin, dir.c_str(), 123, 1)); ASSERT_EQ(0, ceph_chown(cmount, dir.c_str(), -1, 456)); - ASSERT_EQ(0, ceph_chown(cmount, dir.c_str(), 123, 789)); + // ASSERT_EQ(0, ceph_chown(cmount, dir.c_str(), 123, 789)); ceph_shutdown(cmount);