]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: rgw_iam test harness can now stringify() the fake identity.
authorJohn Gibson <jgibson@mitre.org>
Thu, 14 Sep 2017 14:12:59 +0000 (10:12 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Sun, 7 Jan 2018 10:13:47 +0000 (05:13 -0500)
Signed-off-by: John Gibson <jgibson@mitre.org>
(cherry picked from commit 557bdb617e6eb78f9f0e6d6ba35b79b318a6c275)

src/test/rgw/test_rgw_iam_policy.cc

index e38fcd757bc6e780964e462eafa3d19ea291404a..9c5af51bbe12272f724d876e17bc6bb0406992df 100644 (file)
@@ -106,7 +106,7 @@ public:
   }
 
   void to_str(std::ostream& out) const override {
-    abort();
+    out << id;
   }
 
   bool is_identity(const flat_set<Principal>& ids) const override {