Author: jvs Date: Mon Dec 12 22:00:29 2011 New Revision: 1213460 URL: http://svn.apache.org/viewvc?rev=1213460&view=rev Log: HIVE-2647 [jira] Force Bash shell on parallel test slave nodes (Marek Sapota via John Sichi)
Summary: Forcing Bash on each remote command call. Force use of Bash shell, so user default shell choice doesn't impact the test script. Test Plan: EMPTY Reviewers: JIRA, jsichi, njain Reviewed By: jsichi CC: mareksapotafb, jsichi Differential Revision: 771 Modified: hive/trunk/testutils/ptest/Ssh.py Modified: hive/trunk/testutils/ptest/Ssh.py URL: http://svn.apache.org/viewvc/hive/trunk/testutils/ptest/Ssh.py?rev=1213460&r1=1213459&r2=1213460&view=diff ============================================================================== --- hive/trunk/testutils/ptest/Ssh.py (original) +++ hive/trunk/testutils/ptest/Ssh.py Mon Dec 12 22:00:29 2011 @@ -60,7 +60,7 @@ class SSHConnection(): quiet = True else: print(cmd + '\n') - cmd = "ssh -nT '{0}' '{1}'".format(self.host, cmd) + cmd = "ssh -nT '{0}' bash -c '{1}'".format(self.host, cmd) try: return Process.run(cmd, quiet, abandon_output) except Exception as e: