From: Ronny Chevalier Date: Fri, 30 Oct 2015 17:03:18 +0000 (+0100) Subject: test-execute: move all files related to a specific directory X-Git-Tag: v228~111^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ac40081621ec299a55246519726a18dd2b08678c;p=thirdparty%2Fsystemd.git test-execute: move all files related to a specific directory To avoid polluting test/ --- diff --git a/Makefile.am b/Makefile.am index 2f8bfd4d34c..4319c2fdb7a 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 158626f7157..e2ec53ee51d 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 similarity index 100% rename from test/exec-capabilityboundingset-invert.service rename to test/test-execute/exec-capabilityboundingset-invert.service diff --git a/test/exec-capabilityboundingset-merge.service b/test/test-execute/exec-capabilityboundingset-merge.service similarity index 100% rename from test/exec-capabilityboundingset-merge.service rename to test/test-execute/exec-capabilityboundingset-merge.service diff --git a/test/exec-capabilityboundingset-reset.service b/test/test-execute/exec-capabilityboundingset-reset.service similarity index 100% rename from test/exec-capabilityboundingset-reset.service rename to test/test-execute/exec-capabilityboundingset-reset.service diff --git a/test/exec-capabilityboundingset-simple.service b/test/test-execute/exec-capabilityboundingset-simple.service similarity index 100% rename from test/exec-capabilityboundingset-simple.service rename to test/test-execute/exec-capabilityboundingset-simple.service diff --git a/test/exec-environment-empty.service b/test/test-execute/exec-environment-empty.service similarity index 100% rename from test/exec-environment-empty.service rename to test/test-execute/exec-environment-empty.service diff --git a/test/exec-environment-multiple.service b/test/test-execute/exec-environment-multiple.service similarity index 100% rename from test/exec-environment-multiple.service rename to test/test-execute/exec-environment-multiple.service diff --git a/test/exec-environment.service b/test/test-execute/exec-environment.service similarity index 100% rename from test/exec-environment.service rename to test/test-execute/exec-environment.service diff --git a/test/exec-environmentfile.service b/test/test-execute/exec-environmentfile.service similarity index 100% rename from test/exec-environmentfile.service rename to test/test-execute/exec-environmentfile.service diff --git a/test/exec-group.service b/test/test-execute/exec-group.service similarity index 100% rename from test/exec-group.service rename to test/test-execute/exec-group.service diff --git a/test/exec-ignoresigpipe-no.service b/test/test-execute/exec-ignoresigpipe-no.service similarity index 100% rename from test/exec-ignoresigpipe-no.service rename to test/test-execute/exec-ignoresigpipe-no.service diff --git a/test/exec-ignoresigpipe-yes.service b/test/test-execute/exec-ignoresigpipe-yes.service similarity index 100% rename from test/exec-ignoresigpipe-yes.service rename to 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 similarity index 100% rename from test/exec-ioschedulingclass-best-effort.service rename to test/test-execute/exec-ioschedulingclass-best-effort.service diff --git a/test/exec-ioschedulingclass-idle.service b/test/test-execute/exec-ioschedulingclass-idle.service similarity index 100% rename from test/exec-ioschedulingclass-idle.service rename to test/test-execute/exec-ioschedulingclass-idle.service diff --git a/test/exec-ioschedulingclass-none.service b/test/test-execute/exec-ioschedulingclass-none.service similarity index 100% rename from test/exec-ioschedulingclass-none.service rename to test/test-execute/exec-ioschedulingclass-none.service diff --git a/test/exec-ioschedulingclass-realtime.service b/test/test-execute/exec-ioschedulingclass-realtime.service similarity index 100% rename from test/exec-ioschedulingclass-realtime.service rename to test/test-execute/exec-ioschedulingclass-realtime.service diff --git a/test/exec-oomscoreadjust-negative.service b/test/test-execute/exec-oomscoreadjust-negative.service similarity index 100% rename from test/exec-oomscoreadjust-negative.service rename to test/test-execute/exec-oomscoreadjust-negative.service diff --git a/test/exec-oomscoreadjust-positive.service b/test/test-execute/exec-oomscoreadjust-positive.service similarity index 100% rename from test/exec-oomscoreadjust-positive.service rename to test/test-execute/exec-oomscoreadjust-positive.service diff --git a/test/exec-personality-s390.service b/test/test-execute/exec-personality-s390.service similarity index 100% rename from test/exec-personality-s390.service rename to 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 similarity index 100% rename from test/exec-personality-x86-64.service rename to test/test-execute/exec-personality-x86-64.service diff --git a/test/exec-personality-x86.service b/test/test-execute/exec-personality-x86.service similarity index 100% rename from test/exec-personality-x86.service rename to test/test-execute/exec-personality-x86.service diff --git a/test/exec-privatedevices-no.service b/test/test-execute/exec-privatedevices-no.service similarity index 100% rename from test/exec-privatedevices-no.service rename to test/test-execute/exec-privatedevices-no.service diff --git a/test/exec-privatedevices-yes.service b/test/test-execute/exec-privatedevices-yes.service similarity index 100% rename from test/exec-privatedevices-yes.service rename to test/test-execute/exec-privatedevices-yes.service diff --git a/test/exec-privatenetwork-yes.service b/test/test-execute/exec-privatenetwork-yes.service similarity index 100% rename from test/exec-privatenetwork-yes.service rename to test/test-execute/exec-privatenetwork-yes.service diff --git a/test/exec-privatetmp-no.service b/test/test-execute/exec-privatetmp-no.service similarity index 100% rename from test/exec-privatetmp-no.service rename to test/test-execute/exec-privatetmp-no.service diff --git a/test/exec-privatetmp-yes.service b/test/test-execute/exec-privatetmp-yes.service similarity index 100% rename from test/exec-privatetmp-yes.service rename to test/test-execute/exec-privatetmp-yes.service diff --git a/test/exec-runtimedirectory-mode.service b/test/test-execute/exec-runtimedirectory-mode.service similarity index 100% rename from test/exec-runtimedirectory-mode.service rename to test/test-execute/exec-runtimedirectory-mode.service diff --git a/test/exec-runtimedirectory-owner.service b/test/test-execute/exec-runtimedirectory-owner.service similarity index 100% rename from test/exec-runtimedirectory-owner.service rename to test/test-execute/exec-runtimedirectory-owner.service diff --git a/test/exec-runtimedirectory.service b/test/test-execute/exec-runtimedirectory.service similarity index 100% rename from test/exec-runtimedirectory.service rename to test/test-execute/exec-runtimedirectory.service diff --git a/test/exec-systemcallerrornumber.service b/test/test-execute/exec-systemcallerrornumber.service similarity index 100% rename from test/exec-systemcallerrornumber.service rename to test/test-execute/exec-systemcallerrornumber.service diff --git a/test/exec-systemcallfilter-failing.service b/test/test-execute/exec-systemcallfilter-failing.service similarity index 100% rename from test/exec-systemcallfilter-failing.service rename to test/test-execute/exec-systemcallfilter-failing.service diff --git a/test/exec-systemcallfilter-failing2.service b/test/test-execute/exec-systemcallfilter-failing2.service similarity index 100% rename from test/exec-systemcallfilter-failing2.service rename to 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 similarity index 100% rename from test/exec-systemcallfilter-not-failing.service rename to 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 similarity index 100% rename from test/exec-systemcallfilter-not-failing2.service rename to test/test-execute/exec-systemcallfilter-not-failing2.service diff --git a/test/exec-umask-0177.service b/test/test-execute/exec-umask-0177.service similarity index 100% rename from test/exec-umask-0177.service rename to test/test-execute/exec-umask-0177.service diff --git a/test/exec-umask-default.service b/test/test-execute/exec-umask-default.service similarity index 100% rename from test/exec-umask-default.service rename to test/test-execute/exec-umask-default.service diff --git a/test/exec-user.service b/test/test-execute/exec-user.service similarity index 100% rename from test/exec-user.service rename to test/test-execute/exec-user.service diff --git a/test/exec-workingdirectory.service b/test/test-execute/exec-workingdirectory.service similarity index 100% rename from test/exec-workingdirectory.service rename to test/test-execute/exec-workingdirectory.service