chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test: Make testing work on systems without or old systemd
[elogind.git]
/
src
/
test
/
test-unit-file.c
diff --git
a/src/test/test-unit-file.c
b/src/test/test-unit-file.c
index 2075e8611551766ed45a137c76a89cb1c3041741..dc6bc55244dc65ecec4fa571ce29b69d18c60fc7 100644
(file)
--- a/
src/test/test-unit-file.c
+++ b/
src/test/test-unit-file.c
@@
-35,6
+35,7
@@
#include "load-fragment.h"
#include "strv.h"
#include "fileio.h"
#include "load-fragment.h"
#include "strv.h"
#include "fileio.h"
+#include "test-helper.h"
static int test_unit_file_get_set(void) {
int r;
static int test_unit_file_get_set(void) {
int r;
@@
-366,7
+367,7
@@
int main(int argc, char *argv[]) {
test_load_env_file_2();
test_load_env_file_3();
test_load_env_file_4();
test_load_env_file_2();
test_load_env_file_3();
test_load_env_file_4();
-
test_install_printf(
);
+
TEST_REQ_RUNNING_SYSTEMD(test_install_printf()
);
return r;
}
return r;
}