Add shell_binary feature to remote_operations.py

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.5.13
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • TIG 2017-10-02
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The file buildscripts/remote_operations.py will invoke a remote shell in the shell method via the ssh command as

                  cmd = "ssh {} {} /bin/bash -c \"{}'{}'\"".format(
                      self.ssh_options,
                      self.user_host,
                      dollar,
                      operation_param)
      

      It should support a new option to specify which remote shell to use:

                  cmd = "ssh {} {} {} -c \"{}'{}'\"".format(
                      self.ssh_options,
                      self.user_host,
                      self.shell_binary,
                      dollar,
                      operation_param)
      

      New tests should be added to buildscripts/tests/test_remote_operations.py

            Assignee:
            Jonathan Abrahams (Inactive)
            Reporter:
            Jonathan Abrahams (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: