diff options
-rw-r--r-- | tests/blogc-make/check_exec.c | 4 |
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"); |