]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/ceph-objectstore-tool: Don't need stderr noise
authorDavid Zafman <dzafman@redhat.com>
Tue, 2 Jun 2015 00:22:18 +0000 (17:22 -0700)
committerDavid Zafman <dzafman@redhat.com>
Thu, 25 Feb 2016 20:50:23 +0000 (12:50 -0800)
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit d7858c66454093dd6f2fab60e33e5b2472bcd80a)

src/test/ceph_objectstore_tool.py

index 368f9048129b5f502a68e53c5f18fcf732be0657..c8493c4ccb18af65b6e1ec89651f68e61810b7c1 100755 (executable)
@@ -1029,7 +1029,7 @@ def main(argv):
         NEWPOOL = "import-rados-pool"
         cmd = "./rados mkpool {pool}".format(pool=NEWPOOL)
         logging.debug(cmd)
-        ret = call(cmd, shell=True, stdout=nullfd)
+        ret = call(cmd, shell=True, stdout=nullfd, stderr=nullfd)
 
         print "Test import-rados"
         for osd in [f for f in os.listdir(OSDDIR) if os.path.isdir(os.path.join(OSDDIR, f)) and string.find(f, "osd") == 0]: