From: Rishabh Dave Date: Thu, 5 May 2022 14:12:55 +0000 (+0530) Subject: qa/vstart_runner: fix args to os.path.join() X-Git-Tag: v18.0.0~921^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c9807d35e048f90a0ce5ac1c72e77d46b8edce25;p=ceph-ci.git qa/vstart_runner: fix args to os.path.join() Result of os.path.join() before "./bin/ceph-mds" and after "./bin/./ceph-mds". Before - 2022-05-05 19:36:11,100.100 DEBUG:__main__:> ./bin/./ceph-mds -i a After - 2022-05-05 19:38:48,179.179 DEBUG:__main__:> ./bin/ceph-mds -i a Signed-off-by: Rishabh Dave --- diff --git a/qa/tasks/vstart_runner.py b/qa/tasks/vstart_runner.py index c6016f598b6..aaf5d5a245e 100644 --- a/qa/tasks/vstart_runner.py +++ b/qa/tasks/vstart_runner.py @@ -535,7 +535,7 @@ class LocalDaemon(object): self.stop() self.proc = self.controller.run(args=[ - os.path.join(BIN_PREFIX, "./ceph-{0}".format(self.daemon_type)), + os.path.join(BIN_PREFIX, "ceph-{0}".format(self.daemon_type)), "-i", self.daemon_id]) def signal(self, sig, silent=False):