diff options
author | Ronny Chevalier <chevalier.ronny@gmail.com> | 2015-10-30 18:03:18 +0100 |
---|---|---|
committer | Ronny Chevalier <chevalier.ronny@gmail.com> | 2015-10-31 15:07:19 +0100 |
commit | ac40081621ec299a55246519726a18dd2b08678c (patch) | |
tree | fd04adbfc0be773766d8a9180bf899e7b6cf6774 | |
parent | 7d0f09a932182316aff4ea806c3993497b5bd859 (diff) |
test-execute: move all files related to a specific directory
To avoid polluting test/
-rw-r--r-- | Makefile.am | 68 | ||||
-rw-r--r-- | src/test/test-execute.c | 2 | ||||
-rw-r--r-- | test/test-execute/exec-capabilityboundingset-invert.service (renamed from test/exec-capabilityboundingset-invert.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-capabilityboundingset-merge.service (renamed from test/exec-capabilityboundingset-merge.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-capabilityboundingset-reset.service (renamed from test/exec-capabilityboundingset-reset.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-capabilityboundingset-simple.service (renamed from test/exec-capabilityboundingset-simple.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-environment-empty.service (renamed from test/exec-environment-empty.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-environment-multiple.service (renamed from test/exec-environment-multiple.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-environment.service (renamed from test/exec-environment.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-environmentfile.service (renamed from test/exec-environmentfile.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-group.service (renamed from test/exec-group.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-ignoresigpipe-no.service (renamed from test/exec-ignoresigpipe-no.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-ignoresigpipe-yes.service (renamed from test/exec-ignoresigpipe-yes.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-ioschedulingclass-best-effort.service (renamed from test/exec-ioschedulingclass-best-effort.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-ioschedulingclass-idle.service (renamed from test/exec-ioschedulingclass-idle.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-ioschedulingclass-none.service (renamed from test/exec-ioschedulingclass-none.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-ioschedulingclass-realtime.service (renamed from test/exec-ioschedulingclass-realtime.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-oomscoreadjust-negative.service (renamed from test/exec-oomscoreadjust-negative.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-oomscoreadjust-positive.service (renamed from test/exec-oomscoreadjust-positive.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-personality-s390.service (renamed from test/exec-personality-s390.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-personality-x86-64.service (renamed from test/exec-personality-x86-64.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-personality-x86.service (renamed from test/exec-personality-x86.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-privatedevices-no.service (renamed from test/exec-privatedevices-no.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-privatedevices-yes.service (renamed from test/exec-privatedevices-yes.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-privatenetwork-yes.service (renamed from test/exec-privatenetwork-yes.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-privatetmp-no.service (renamed from test/exec-privatetmp-no.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-privatetmp-yes.service (renamed from test/exec-privatetmp-yes.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-runtimedirectory-mode.service (renamed from test/exec-runtimedirectory-mode.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-runtimedirectory-owner.service (renamed from test/exec-runtimedirectory-owner.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-runtimedirectory.service (renamed from test/exec-runtimedirectory.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-systemcallerrornumber.service (renamed from test/exec-systemcallerrornumber.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-systemcallfilter-failing.service (renamed from test/exec-systemcallfilter-failing.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-systemcallfilter-failing2.service (renamed from test/exec-systemcallfilter-failing2.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-systemcallfilter-not-failing.service (renamed from test/exec-systemcallfilter-not-failing.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-systemcallfilter-not-failing2.service (renamed from test/exec-systemcallfilter-not-failing2.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-umask-0177.service (renamed from test/exec-umask-0177.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-umask-default.service (renamed from test/exec-umask-default.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-user.service (renamed from test/exec-user.service) | 0 | ||||
-rw-r--r-- | test/test-execute/exec-workingdirectory.service (renamed from test/exec-workingdirectory.service) | 0 |
39 files changed, 35 insertions, 35 deletions
diff --git a/Makefile.am b/Makefile.am index 2f8bfd4d34..4319c2fdb7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1544,40 +1544,40 @@ EXTRA_DIST += \ test/path-makedirectory.path \ test/path-modified.path \ test/path-unit.path \ - test/exec-environment-empty.service \ - test/exec-environment-multiple.service \ - test/exec-environment.service \ - test/exec-group.service \ - test/exec-ignoresigpipe-no.service \ - test/exec-ignoresigpipe-yes.service \ - test/exec-personality-x86-64.service \ - test/exec-personality-x86.service \ - test/exec-personality-s390.service \ - test/exec-privatedevices-no.service \ - test/exec-privatedevices-yes.service \ - test/exec-privatetmp-no.service \ - test/exec-privatetmp-yes.service \ - test/exec-systemcallerrornumber.service \ - test/exec-systemcallfilter-failing2.service \ - test/exec-systemcallfilter-failing.service \ - test/exec-systemcallfilter-not-failing2.service \ - test/exec-systemcallfilter-not-failing.service \ - test/exec-user.service \ - test/exec-workingdirectory.service \ - test/exec-umask-0177.service \ - test/exec-umask-default.service \ - test/exec-privatenetwork-yes.service \ - test/exec-environmentfile.service \ - test/exec-oomscoreadjust-positive.service \ - test/exec-oomscoreadjust-negative.service \ - test/exec-ioschedulingclass-best-effort.service \ - test/exec-ioschedulingclass-idle.service \ - test/exec-ioschedulingclass-none.service \ - test/exec-ioschedulingclass-realtime.service \ - test/exec-capabilityboundingset-invert.service \ - test/exec-capabilityboundingset-merge.service \ - test/exec-capabilityboundingset-reset.service \ - test/exec-capabilityboundingset-simple.service \ + test/test-execute/exec-environment-empty.service \ + test/test-execute/exec-environment-multiple.service \ + test/test-execute/exec-environment.service \ + test/test-execute/exec-group.service \ + test/test-execute/exec-ignoresigpipe-no.service \ + test/test-execute/exec-ignoresigpipe-yes.service \ + test/test-execute/exec-personality-x86-64.service \ + test/test-execute/exec-personality-x86.service \ + test/test-execute/exec-personality-s390.service \ + test/test-execute/exec-privatedevices-no.service \ + test/test-execute/exec-privatedevices-yes.service \ + test/test-execute/exec-privatetmp-no.service \ + test/test-execute/exec-privatetmp-yes.service \ + test/test-execute/exec-systemcallerrornumber.service \ + test/test-execute/exec-systemcallfilter-failing2.service \ + test/test-execute/exec-systemcallfilter-failing.service \ + test/test-execute/exec-systemcallfilter-not-failing2.service \ + test/test-execute/exec-systemcallfilter-not-failing.service \ + test/test-execute/exec-user.service \ + test/test-execute/exec-workingdirectory.service \ + test/test-execute/exec-umask-0177.service \ + test/test-execute/exec-umask-default.service \ + test/test-execute/exec-privatenetwork-yes.service \ + test/test-execute/exec-environmentfile.service \ + test/test-execute/exec-oomscoreadjust-positive.service \ + test/test-execute/exec-oomscoreadjust-negative.service \ + test/test-execute/exec-ioschedulingclass-best-effort.service \ + test/test-execute/exec-ioschedulingclass-idle.service \ + test/test-execute/exec-ioschedulingclass-none.service \ + test/test-execute/exec-ioschedulingclass-realtime.service \ + test/test-execute/exec-capabilityboundingset-invert.service \ + test/test-execute/exec-capabilityboundingset-merge.service \ + test/test-execute/exec-capabilityboundingset-reset.service \ + test/test-execute/exec-capabilityboundingset-simple.service \ test/bus-policy/hello.conf \ test/bus-policy/methods.conf \ test/bus-policy/ownerships.conf \ diff --git a/src/test/test-execute.c b/src/test/test-execute.c index 158626f715..e2ec53ee51 100644 --- a/src/test/test-execute.c +++ b/src/test/test-execute.c @@ -258,7 +258,7 @@ int main(int argc, char *argv[]) { } assert_se(setenv("XDG_RUNTIME_DIR", "/tmp/", 1) == 0); - assert_se(set_unit_path(TEST_DIR) >= 0); + assert_se(set_unit_path(TEST_DIR "/test-execute/") >= 0); r = manager_new(MANAGER_USER, true, &m); if (IN_SET(r, -EPERM, -EACCES, -EADDRINUSE, -EHOSTDOWN, -ENOENT)) { diff --git a/test/exec-capabilityboundingset-invert.service b/test/test-execute/exec-capabilityboundingset-invert.service index e2b09e1550..e2b09e1550 100644 --- a/test/exec-capabilityboundingset-invert.service +++ b/test/test-execute/exec-capabilityboundingset-invert.service diff --git a/test/exec-capabilityboundingset-merge.service b/test/test-execute/exec-capabilityboundingset-merge.service index b0f4732529..b0f4732529 100644 --- a/test/exec-capabilityboundingset-merge.service +++ b/test/test-execute/exec-capabilityboundingset-merge.service diff --git a/test/exec-capabilityboundingset-reset.service b/test/test-execute/exec-capabilityboundingset-reset.service index 51092ab0d5..51092ab0d5 100644 --- a/test/exec-capabilityboundingset-reset.service +++ b/test/test-execute/exec-capabilityboundingset-reset.service diff --git a/test/exec-capabilityboundingset-simple.service b/test/test-execute/exec-capabilityboundingset-simple.service index b9037a0ddf..b9037a0ddf 100644 --- a/test/exec-capabilityboundingset-simple.service +++ b/test/test-execute/exec-capabilityboundingset-simple.service diff --git a/test/exec-environment-empty.service b/test/test-execute/exec-environment-empty.service index 0219ca4fd7..0219ca4fd7 100644 --- a/test/exec-environment-empty.service +++ b/test/test-execute/exec-environment-empty.service diff --git a/test/exec-environment-multiple.service b/test/test-execute/exec-environment-multiple.service index 479005a5d8..479005a5d8 100644 --- a/test/exec-environment-multiple.service +++ b/test/test-execute/exec-environment-multiple.service diff --git a/test/exec-environment.service b/test/test-execute/exec-environment.service index 4586b4c4a9..4586b4c4a9 100644 --- a/test/exec-environment.service +++ b/test/test-execute/exec-environment.service diff --git a/test/exec-environmentfile.service b/test/test-execute/exec-environmentfile.service index 848f2a120c..848f2a120c 100644 --- a/test/exec-environmentfile.service +++ b/test/test-execute/exec-environmentfile.service diff --git a/test/exec-group.service b/test/test-execute/exec-group.service index 1aa04b5bd2..1aa04b5bd2 100644 --- a/test/exec-group.service +++ b/test/test-execute/exec-group.service diff --git a/test/exec-ignoresigpipe-no.service b/test/test-execute/exec-ignoresigpipe-no.service index 69b2e9d8a8..69b2e9d8a8 100644 --- a/test/exec-ignoresigpipe-no.service +++ b/test/test-execute/exec-ignoresigpipe-no.service diff --git a/test/exec-ignoresigpipe-yes.service b/test/test-execute/exec-ignoresigpipe-yes.service index 877ec8aed0..877ec8aed0 100644 --- a/test/exec-ignoresigpipe-yes.service +++ b/test/test-execute/exec-ignoresigpipe-yes.service diff --git a/test/exec-ioschedulingclass-best-effort.service b/test/test-execute/exec-ioschedulingclass-best-effort.service index 56e2718505..56e2718505 100644 --- a/test/exec-ioschedulingclass-best-effort.service +++ b/test/test-execute/exec-ioschedulingclass-best-effort.service diff --git a/test/exec-ioschedulingclass-idle.service b/test/test-execute/exec-ioschedulingclass-idle.service index b45795cab7..b45795cab7 100644 --- a/test/exec-ioschedulingclass-idle.service +++ b/test/test-execute/exec-ioschedulingclass-idle.service diff --git a/test/exec-ioschedulingclass-none.service b/test/test-execute/exec-ioschedulingclass-none.service index 36b546ca01..36b546ca01 100644 --- a/test/exec-ioschedulingclass-none.service +++ b/test/test-execute/exec-ioschedulingclass-none.service diff --git a/test/exec-ioschedulingclass-realtime.service b/test/test-execute/exec-ioschedulingclass-realtime.service index 74936d8079..74936d8079 100644 --- a/test/exec-ioschedulingclass-realtime.service +++ b/test/test-execute/exec-ioschedulingclass-realtime.service diff --git a/test/exec-oomscoreadjust-negative.service b/test/test-execute/exec-oomscoreadjust-negative.service index 63ab501c63..63ab501c63 100644 --- a/test/exec-oomscoreadjust-negative.service +++ b/test/test-execute/exec-oomscoreadjust-negative.service diff --git a/test/exec-oomscoreadjust-positive.service b/test/test-execute/exec-oomscoreadjust-positive.service index e47a4f1392..e47a4f1392 100644 --- a/test/exec-oomscoreadjust-positive.service +++ b/test/test-execute/exec-oomscoreadjust-positive.service diff --git a/test/exec-personality-s390.service b/test/test-execute/exec-personality-s390.service index f3c3b03e3d..f3c3b03e3d 100644 --- a/test/exec-personality-s390.service +++ b/test/test-execute/exec-personality-s390.service diff --git a/test/exec-personality-x86-64.service b/test/test-execute/exec-personality-x86-64.service index 5bb5d910d0..5bb5d910d0 100644 --- a/test/exec-personality-x86-64.service +++ b/test/test-execute/exec-personality-x86-64.service diff --git a/test/exec-personality-x86.service b/test/test-execute/exec-personality-x86.service index 0b370a6480..0b370a6480 100644 --- a/test/exec-personality-x86.service +++ b/test/test-execute/exec-personality-x86.service diff --git a/test/exec-privatedevices-no.service b/test/test-execute/exec-privatedevices-no.service index cf4f275fb6..cf4f275fb6 100644 --- a/test/exec-privatedevices-no.service +++ b/test/test-execute/exec-privatedevices-no.service diff --git a/test/exec-privatedevices-yes.service b/test/test-execute/exec-privatedevices-yes.service index 85b3f4f981..85b3f4f981 100644 --- a/test/exec-privatedevices-yes.service +++ b/test/test-execute/exec-privatedevices-yes.service diff --git a/test/exec-privatenetwork-yes.service b/test/test-execute/exec-privatenetwork-yes.service index 494712e6a7..494712e6a7 100644 --- a/test/exec-privatenetwork-yes.service +++ b/test/test-execute/exec-privatenetwork-yes.service diff --git a/test/exec-privatetmp-no.service b/test/test-execute/exec-privatetmp-no.service index d69e552a63..d69e552a63 100644 --- a/test/exec-privatetmp-no.service +++ b/test/test-execute/exec-privatetmp-no.service diff --git a/test/exec-privatetmp-yes.service b/test/test-execute/exec-privatetmp-yes.service index 881a040b87..881a040b87 100644 --- a/test/exec-privatetmp-yes.service +++ b/test/test-execute/exec-privatetmp-yes.service diff --git a/test/exec-runtimedirectory-mode.service b/test/test-execute/exec-runtimedirectory-mode.service index ba6d7ee39f..ba6d7ee39f 100644 --- a/test/exec-runtimedirectory-mode.service +++ b/test/test-execute/exec-runtimedirectory-mode.service diff --git a/test/exec-runtimedirectory-owner.service b/test/test-execute/exec-runtimedirectory-owner.service index 077e08d1c5..077e08d1c5 100644 --- a/test/exec-runtimedirectory-owner.service +++ b/test/test-execute/exec-runtimedirectory-owner.service diff --git a/test/exec-runtimedirectory.service b/test/test-execute/exec-runtimedirectory.service index c12a6c63d6..c12a6c63d6 100644 --- a/test/exec-runtimedirectory.service +++ b/test/test-execute/exec-runtimedirectory.service diff --git a/test/exec-systemcallerrornumber.service b/test/test-execute/exec-systemcallerrornumber.service index 255a8b231a..255a8b231a 100644 --- a/test/exec-systemcallerrornumber.service +++ b/test/test-execute/exec-systemcallerrornumber.service diff --git a/test/exec-systemcallfilter-failing.service b/test/test-execute/exec-systemcallfilter-failing.service index c6ce9368c9..c6ce9368c9 100644 --- a/test/exec-systemcallfilter-failing.service +++ b/test/test-execute/exec-systemcallfilter-failing.service diff --git a/test/exec-systemcallfilter-failing2.service b/test/test-execute/exec-systemcallfilter-failing2.service index b7f7c2aff9..b7f7c2aff9 100644 --- a/test/exec-systemcallfilter-failing2.service +++ b/test/test-execute/exec-systemcallfilter-failing2.service diff --git a/test/exec-systemcallfilter-not-failing.service b/test/test-execute/exec-systemcallfilter-not-failing.service index feb206ab6d..feb206ab6d 100644 --- a/test/exec-systemcallfilter-not-failing.service +++ b/test/test-execute/exec-systemcallfilter-not-failing.service diff --git a/test/exec-systemcallfilter-not-failing2.service b/test/test-execute/exec-systemcallfilter-not-failing2.service index cca469aa3d..cca469aa3d 100644 --- a/test/exec-systemcallfilter-not-failing2.service +++ b/test/test-execute/exec-systemcallfilter-not-failing2.service diff --git a/test/exec-umask-0177.service b/test/test-execute/exec-umask-0177.service index af9295888e..af9295888e 100644 --- a/test/exec-umask-0177.service +++ b/test/test-execute/exec-umask-0177.service diff --git a/test/exec-umask-default.service b/test/test-execute/exec-umask-default.service index 41e20a60a1..41e20a60a1 100644 --- a/test/exec-umask-default.service +++ b/test/test-execute/exec-umask-default.service diff --git a/test/exec-user.service b/test/test-execute/exec-user.service index 2ca08ebb42..2ca08ebb42 100644 --- a/test/exec-user.service +++ b/test/test-execute/exec-user.service diff --git a/test/exec-workingdirectory.service b/test/test-execute/exec-workingdirectory.service index 10855d682a..10855d682a 100644 --- a/test/exec-workingdirectory.service +++ b/test/test-execute/exec-workingdirectory.service |