]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test: temporarily disable tests which relied on MDS' incorrect GID-adding behavior
authorGreg Farnum <gfarnum@redhat.com>
Mon, 26 Sep 2016 21:24:05 +0000 (14:24 -0700)
committerGreg Farnum <gfarnum@redhat.com>
Mon, 26 Sep 2016 21:24:05 +0000 (14:24 -0700)
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
src/test/libcephfs/access.cc

index 7574d2599d5a07bb19965d3f9874aadefe3974c1..ebdf499aaabb03f2149a03ae899ee67761ba78b8 100644 (file)
@@ -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);