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

Add shell_binary feature to remote_operations.py

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.5.13
    • Testing Infrastructure
    • None
    • Fully Compatible
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: