projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
846f5ac
)
test: skip if ldd command not found
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Sun, 25 Jun 2023 05:53:02 +0000
(14:53 +0900)
committer
Luca Boccassi
<luca.boccassi@gmail.com>
Mon, 26 Jun 2023 10:27:08 +0000
(11:27 +0100)
Prompted by #28015.
src/test/test-execute.c
patch
|
blob
|
history
diff --git
a/src/test/test-execute.c
b/src/test/test-execute.c
index b2721a0c7b890d7414516116af866e2f9b2defee..164c1bc0337e6ac86bf3c5f91c1d69fc86be819b 100644
(file)
--- a/
src/test/test-execute.c
+++ b/
src/test/test-execute.c
@@
-673,6
+673,11
@@
static void test_exec_mount_apivfs(Manager *m) {
assert_se(user_runtime_unit_dir);
+ r = find_executable("ldd", NULL);
+ if (r < 0) {
+ log_notice_errno(r, "Skipping %s, could not find 'ldd' command: %m", __func__);
+ return;
+ }
r = find_executable("touch", &fullpath_touch);
if (r < 0) {
log_notice_errno(r, "Skipping %s, could not find 'touch' command: %m", __func__);