Fix arguments to diff in the roundTrip testing tool

git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@567 4cde692c-a291-49d1-8350-778aa11640f8
This commit is contained in:
pabs3 2009-03-24 09:41:35 +00:00
parent e70bb8af70
commit 044f8988d6

View File

@ -43,7 +43,7 @@ def roundTrip(ttFile1, options, report):
options.mergeFile = None options.mergeFile = None
ttx.ttDump(ttFile2, xmlFile2, options) ttx.ttDump(ttFile2, xmlFile2, options)
diffcmd = 'diff -c2 -I ".*modified value\|checkSumAdjustment.*" "%s" "%s"' % (xmlFile1, xmlFile2) diffcmd = 'diff -U2 -I ".*modified value\|checkSumAdjustment.*" "%s" "%s"' % (xmlFile1, xmlFile2)
output = os.popen(diffcmd, "r", 1) output = os.popen(diffcmd, "r", 1)
lines = [] lines = []
while 1: while 1: