[subset] Fix checksum clearning in subset test diff. Add an updated expected file (has cmap4 restored).
This commit is contained in:
parent
537698b601
commit
a88504c601
Binary file not shown.
|
@ -77,8 +77,11 @@ def run_ttx(file):
|
|||
return cmd(cli_args)
|
||||
|
||||
def strip_check_sum (ttx_string):
|
||||
return re.sub ('checksumAdjustment value=["]0x(\d+)["]',
|
||||
'checksumAdjustment value="0x00000000"',
|
||||
# return re.sub ('checkSumAdjustment value=["]0x(\d+)["]',
|
||||
# 'checkSumAdjustment value="0x00000000"',
|
||||
# ttx_string, count=1)
|
||||
return re.sub ('checkSumAdjustment value=["]0x([0-9a-fA-F])+["]',
|
||||
'checkSumAdjustment value="0x00000000"',
|
||||
ttx_string, count=1)
|
||||
|
||||
args = sys.argv[1:]
|
||||
|
|
Loading…
Reference in New Issue