This patch removes the quotes surrounding the command shown by
gst-validate to reproduce the issues -- which were troublesome when
copying and pasting.
It also introduces escaping for the arguments, so that the command line
can be copied and pasted in the terminal without further changes.
https://bugzilla.gnome.org/show_bug.cgi?id=796897
return message
def get_command_repr(self):
- message = "%s %s" % (self._env_variable, ' '.join(self.command))
+ message = "%s %s" % (self._env_variable, ' '.join(
+ shlex.quote(arg) for arg in self.command))
if self.server_command:
message = "%s & %s" % (self.server_command, message)
- return "'%s'" % message
+ return message
def test_start(self, queue):
self.open_logfile()