File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ RUN: env REMOTE_RUN_CHILD_FOO=foo REMOTE_RUN_CHILD_BAR=bar %debug-remote-run -v
5
5
6
6
CHECK: {{^:foo: :bar:$}}
7
7
8
- VERBOSE: /usr/bin/env FOO=foo BAR=bar sh -c echo ":${FOO}:" ":${BAR}:"
8
+ VERBOSE: /usr/bin/env BAR=bar FOO=foo sh -c echo ":${FOO}:" ":${BAR}:"
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ class CommandRunner(object):
68
68
self .run_sftp (sftp_commands )
69
69
70
70
def run_remote (self , command , remote_env = {}):
71
- env_strings = ['{0}={1}' .format (k ,v ) for k ,v in remote_env .items ()]
71
+ env_strings = ['{0}={1}' .format (k ,v ) for k ,v in sorted ( remote_env .items () )]
72
72
remote_invocation = self .remote_invocation (
73
73
['/usr/bin/env' ] + env_strings + command )
74
74
remote_proc = self .popen (remote_invocation , stdin = subprocess .PIPE ,
You can’t perform that action at this time.
0 commit comments