Update clickhouse-test

This commit is contained in:
alexey-milovidov 2018-11-21 07:16:47 +03:00 committed by GitHub
parent 1e070a7c51
commit be409f29b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -277,7 +277,7 @@ def main(args):
result_is_different = subprocess.call(['cmp', '-s', reference_file, stdout_file], stdout = PIPE)
if result_is_different:
(diff, _) = Popen(['diff', '-u', reference_file, stdout_file], stdout = PIPE).communicate()
(diff, _) = Popen(['diff', '--unified', reference_file, stdout_file], stdout = PIPE).communicate()
diff = unicode(diff, errors='replace', encoding='utf-8')
failure = et.Element("failure", attrib = {"message": "result differs with reference"})