Commit 24107ac4 authored by Carlos Garcia Campos's avatar Carlos Garcia Campos

regtest: Save checksum results sorted in md5 files

We are using os.listdir() to get the list of test results that returns
files in arbitrary order.
parent f1c9993d
......@@ -67,7 +67,7 @@ class Backend:
path = os.path.join(refs_path, self._name)
md5_file = open(path + '.md5', 'w')
for entry in os.listdir(refs_path):
for entry in sorted(os.listdir(refs_path)):
if not self.__should_have_checksum(entry):
continue
ref_path = os.path.join(refs_path, entry)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment