aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/blogc-make/check_exec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/blogc-make/check_exec.c b/tests/blogc-make/check_exec.c
index febcfae..d12edbf 100644
--- a/tests/blogc-make/check_exec.c
+++ b/tests/blogc-make/check_exec.c
@@ -40,19 +40,19 @@ test_find_binary(void **state)
will_return(__wrap_access, "../blogc");
will_return(__wrap_access, 0);
- bin = bm_exec_find_binary("../blogc", "blogc", "BLOGC");
+ bin = bm_exec_find_binary("../blogc-make", "blogc", "BLOGC");
assert_string_equal(bin, "'../blogc'");
free(bin);
will_return(__wrap_access, "/usr/bin/blogc");
will_return(__wrap_access, 0);
- bin = bm_exec_find_binary("/usr/bin/blogc", "blogc", "BLOGC");
+ bin = bm_exec_find_binary("/usr/bin/blogc-make", "blogc", "BLOGC");
assert_string_equal(bin, "'/usr/bin/blogc'");
free(bin);
will_return(__wrap_access, "../blogc");
will_return(__wrap_access, 1);
- bin = bm_exec_find_binary("../blogc", "blogc", "BLOGC");
+ bin = bm_exec_find_binary("../blogc-make", "blogc", "BLOGC");
assert_string_equal(bin, "blogc");
free(bin);