chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
path-util: also check for existence of binary when given absolute path
[elogind.git]
/
src
/
test
/
test-path-util.c
diff --git
a/src/test/test-path-util.c
b/src/test/test-path-util.c
index a2cf0af75fef675774444ced03a7f49c81acb0b2..527b27565693959b89405da5c3d36115aed9b577 100644
(file)
--- a/
src/test/test-path-util.c
+++ b/
src/test/test-path-util.c
@@
-104,6
+104,8
@@
static void test_find_binary(void) {
free(p);
assert(find_binary("xxxx-xxxx", &p) == -ENOENT);
free(p);
assert(find_binary("xxxx-xxxx", &p) == -ENOENT);
+
+ assert(find_binary("/some/dir/xxxx-xxxx", &p) == -ENOENT);
}
static void test_prefixes(void) {
}
static void test_prefixes(void) {