diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-03-03 01:40:16 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-03-03 01:40:16 +0100 |
commit | 4c00812c31dfa42183c8b6586ccf102a6d65f61c (patch) | |
tree | afb12d90cd1354b12b2c5701aa5374cc1860afc4 | |
parent | e814416b69de859cafc474d1e16bea782a23e28a (diff) | |
download | blogc-4c00812c31dfa42183c8b6586ccf102a6d65f61c.tar.gz blogc-4c00812c31dfa42183c8b6586ccf102a6d65f61c.tar.bz2 blogc-4c00812c31dfa42183c8b6586ccf102a6d65f61c.zip |
make: added missing test
-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"); |