From 9506ce55e8561dc9e2b2903cb4fea66654961265 Mon Sep 17 00:00:00 2001 From: Daniel Zaoui Date: Tue, 30 Oct 2018 12:47:15 +0200 Subject: [PATCH] Suite: fix scenarios lookup when many paths are given --- src/bin/exactness.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/bin/exactness.c b/src/bin/exactness.c index d14a532..5924bb5 100644 --- a/src/bin/exactness.c +++ b/src/bin/exactness.c @@ -183,9 +183,11 @@ _run_test_compare(const List_Entry *ent) else { sprintf(path, "%s/%s.rec", base_dir, ent->name); - if (!ecore_file_exists(path)) return; - sprintf(origdir, "%s/%s", _dest_dir, ORIG_SUBDIR); - goto found; + if (ecore_file_exists(path)) + { + sprintf(origdir, "%s/%s", _dest_dir, ORIG_SUBDIR); + goto found; + } } } found: