diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2011-09-18 11:08:06 +0200 |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2011-09-18 11:09:46 +0200 |
commit | 12c6239ca4f1f6a5de72aebd755f9d1354ea5837 (patch) | |
tree | b03d20fb1164089d6f811e9905bdbd7e6dc6d329 /regtest | |
parent | 93ba92db0a3af35f197a4faa5a528af98ea0f624 (diff) |
regtest: Fix checksum check for tests containing spaces in filename
Diffstat (limited to 'regtest')
-rw-r--r-- | regtest/backends/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regtest/backends/__init__.py b/regtest/backends/__init__.py index ed728ff9..de8b3ece 100644 --- a/regtest/backends/__init__.py +++ b/regtest/backends/__init__.py @@ -62,7 +62,7 @@ class Backend: tests = os.listdir(out_path) for line in md5_file.readlines(): - md5sum, ref_path = line.strip('\n').split(' ') + md5sum, ref_path = line.strip('\n').split(' ', 1) basename = os.path.basename(ref_path) if not basename in tests: retval = False |