aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2017-03-03 01:40:16 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2017-03-03 01:40:16 +0100
commit4c00812c31dfa42183c8b6586ccf102a6d65f61c (patch)
treeafb12d90cd1354b12b2c5701aa5374cc1860afc4 /tests
parente814416b69de859cafc474d1e16bea782a23e28a (diff)
downloadblogc-4c00812c31dfa42183c8b6586ccf102a6d65f61c.tar.gz
blogc-4c00812c31dfa42183c8b6586ccf102a6d65f61c.tar.bz2
blogc-4c00812c31dfa42183c8b6586ccf102a6d65f61c.zip
make: added missing test
Diffstat (limited to 'tests')
-rw-r--r--tests/blogc-make/check_exec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/blogc-make/check_exec.c b/tests/blogc-make/check_exec.c
index d12edbf..681e443 100644
--- a/tests/blogc-make/check_exec.c
+++ b/tests/blogc-make/check_exec.c
@@ -38,6 +38,10 @@ test_find_binary(void **state)
assert_string_equal(bin, "blogc");
free(bin);
+ bin = bm_exec_find_binary("blogc-make", "blogc", "BLOGC");
+ assert_string_equal(bin, "blogc");
+ free(bin);
+
will_return(__wrap_access, "../blogc");
will_return(__wrap_access, 0);
bin = bm_exec_find_binary("../blogc-make", "blogc", "BLOGC");