Suite: fix scenarios lookup when many paths are given

This commit is contained in:
Daniel Zaoui 2018-10-30 12:47:15 +02:00
parent 4890fd01f7
commit 9506ce55e8
1 changed files with 5 additions and 3 deletions

View File

@ -183,9 +183,11 @@ _run_test_compare(const List_Entry *ent)
else else
{ {
sprintf(path, "%s/%s.rec", base_dir, ent->name); sprintf(path, "%s/%s.rec", base_dir, ent->name);
if (!ecore_file_exists(path)) return; if (ecore_file_exists(path))
sprintf(origdir, "%s/%s", _dest_dir, ORIG_SUBDIR); {
goto found; sprintf(origdir, "%s/%s", _dest_dir, ORIG_SUBDIR);
goto found;
}
} }
} }
found: found: