comparison tests/run-tests.py @ 39289:97f52862b1bd

run-tests: fix the remaining failure of test-run-tests.py Looks like durin42 misindented this. This makes test-run-tests.py passes but I cannot reason why. Differential Revision: https://phab.mercurial-scm.org/D4402
author Pulkit Goyal <pulkit@yandex-team.ru>
date Mon, 27 Aug 2018 20:41:31 +0300
parents a235ee4cfc1c
children b64d36e5ca31
comparison
equal deleted inserted replaced
39288:a235ee4cfc1c 39289:97f52862b1bd
1355 quoted = shellquote(cmd.strip()).replace(b'\\', b'\\\\') 1355 quoted = shellquote(cmd.strip()).replace(b'\\', b'\\\\')
1356 if active: 1356 if active:
1357 script.append( 1357 script.append(
1358 b'echo END %s %s >> "$HGCATAPULTSERVERPIPE"\n' % ( 1358 b'echo END %s %s >> "$HGCATAPULTSERVERPIPE"\n' % (
1359 session, active[0])) 1359 session, active[0]))
1360 script.append( 1360 script.append(
1361 b'echo START %s %s >> "$HGCATAPULTSERVERPIPE"\n' % ( 1361 b'echo START %s %s >> "$HGCATAPULTSERVERPIPE"\n' % (
1362 session, quoted)) 1362 session, quoted))
1363 active[0:] = [quoted] 1363 active[0:] = [quoted]
1364 1364
1365 script = [] 1365 script = []
1366 1366
1367 # After we run the shell script, we re-unify the script output 1367 # After we run the shell script, we re-unify the script output
1368 # with non-active parts of the source, with synchronization by our 1368 # with non-active parts of the source, with synchronization by our