chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bus-proxy: we don't pointlessly abbreviate function names
[elogind.git]
/
src
/
test
/
test-execute.c
diff --git
a/src/test/test-execute.c
b/src/test/test-execute.c
index 60466f0d3ffaae68375d6098df2b6fa03e8af1d4..91ccaf72b849e57f70a635912619ad2da5fd4d3c 100644
(file)
--- a/
src/test/test-execute.c
+++ b/
src/test/test-execute.c
@@
-132,6
+132,11
@@
static void test_exec_environment(Manager *m) {
test(m, "exec-environment-empty.service", 0, CLD_EXITED);
}
test(m, "exec-environment-empty.service", 0, CLD_EXITED);
}
+static void test_exec_umask(Manager *m) {
+ test(m, "exec-umask-default.service", 0, CLD_EXITED);
+ test(m, "exec-umask-0177.service", 0, CLD_EXITED);
+}
+
int main(int argc, char *argv[]) {
test_function_t tests[] = {
test_exec_workingdirectory,
int main(int argc, char *argv[]) {
test_function_t tests[] = {
test_exec_workingdirectory,
@@
-144,6
+149,7
@@
int main(int argc, char *argv[]) {
test_exec_user,
test_exec_group,
test_exec_environment,
test_exec_user,
test_exec_group,
test_exec_environment,
+ test_exec_umask,
NULL,
};
test_function_t *test = NULL;
NULL,
};
test_function_t *test = NULL;