Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-30996

Add shell_binary feature to remote_operations.py

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.13
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      TIG 2017-10-02

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jonathan.abrahams Jonathan Abrahams
              Reporter:
              jonathan.abrahams Jonathan Abrahams
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: