aboutsummaryrefslogtreecommitdiffstats
path: root/tests/blogc-make/check_exec.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2017-03-03 01:37:17 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2017-03-03 01:37:17 +0100
commite814416b69de859cafc474d1e16bea782a23e28a (patch)
tree9505e7233e659bd41fae958cf4730868053dfcbd /tests/blogc-make/check_exec.c
parentac66573fff4e5b74473a1ddbd691c8fc8dd847a8 (diff)
downloadblogc-e814416b69de859cafc474d1e16bea782a23e28a.tar.gz
blogc-e814416b69de859cafc474d1e16bea782a23e28a.tar.bz2
blogc-e814416b69de859cafc474d1e16bea782a23e28a.zip
make: improved tests
Diffstat (limited to 'tests/blogc-make/check_exec.c')
-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);