Home
last modified time | relevance | path

Searched refs:run (Results 1 – 25 of 415) sorted by relevance

12345678910>>...17

/systemd-251/test/units/
Dtestsuite-42.sh7 systemd-run --unit=simple1.service --wait -p StandardOutput=tty -p StandardError=tty -p Type=simple…
8 test -f /run/simple1
10 systemd-run --unit=simple2.service --wait -p StandardOutput=tty -p StandardError=tty -p Type=simple…
12 test -f /run/simple2
14 systemd-run --unit=exec1.service --wait -p StandardOutput=tty -p StandardError=tty -p Type=exec -p …
15 test -f /run/exec1
17 systemd-run --unit=exec2.service --wait -p StandardOutput=tty -p StandardError=tty -p Type=exec -p …
19 test -f /run/exec2
34 systemd-run --unit=forking1.service --wait -p StandardOutput=tty -p StandardError=tty -p Type=forki…
35 test -f /run/forking1
[all …]
Dtestsuite-50.sh64 systemd-run -P -p RootImage="${image}.raw" cat /usr/lib/os-release | grep -q -F "MARKER=1"
67 systemd-run -P -p RootImage="${image}.raw" -p RootHash="${image}.foohash" -p RootVerity="${image}.f…
69 systemd-run -P --property RootImage="${image}.raw" --property RootHash="${roothash}" --property Roo…
170 mkdir -p /run/verity.d
171 ln -s "${image}.crt" /run/verity.d/ok.crt
213 systemd-run -P -p RootImage="${image}.gpt" -p RootHash="${roothash}" -p MountAPIVFS=yes cat /usr/li…
215 systemd-run -P -p RootImage="${image}.raw" -p RootImageOptions="root:nosuid,dev home:ro,dev ro,noat…
216 systemd-run -P -p RootImage="${image}.gpt" -p RootImageOptions="root:ro,noatime root:ro,dev" mount …
219 cat >/run/systemd/system/testservice-50a.service <<EOF
223 BindPaths=${image_dir}/result:/run/result
[all …]
Dtestsuite-33.sh23 test ! -e /run/testservice
31 test -d /run/testservice
41 test -d /run/testservice
49 test -d /run/testservice
57 test ! -e /run/testservice
65 test ! -e /run/testservice
73 test ! -e /run/testservice
94 test ! -e /run/testservice
102 test -d /run/private/testservice
106 test -L /run/testservice
[all …]
Dtestsuite-34.sh15 …systemd-run --wait -p RuntimeDirectoryPreserve=yes -p DynamicUser=0 -p "${directory}"=zzz touch "$…
16 …systemd-run --wait -p RuntimeDirectoryPreserve=yes -p DynamicUser=0 -p "${directory}"=zzz test -f …
17 …systemd-run --wait -p RuntimeDirectoryPreserve=yes -p DynamicUser=0 -p "${directory}"=zzz -p Tempo…
18 …systemd-run --wait -p RuntimeDirectoryPreserve=yes -p DynamicUser=0 -p "${directory}"=zzz:yyy test…
19 …systemd-run --wait -p RuntimeDirectoryPreserve=yes -p DynamicUser=0 -p "${directory}"=zzz:xxx -p T…
20 …systemd-run --wait -p RuntimeDirectoryPreserve=yes -p DynamicUser=0 -p "${directory}"=zzz:xxx -p T…
21 …systemd-run --wait -p RuntimeDirectoryPreserve=yes -p DynamicUser=0 -p "${directory}"=zzz test -f …
32 …systemd-run --wait -p RuntimeDirectoryPreserve=yes -p DynamicUser=1 -p "${directory}"=zzz test -f …
33 …systemd-run --wait -p RuntimeDirectoryPreserve=yes -p DynamicUser=1 -p "${directory}"=zzz -p Tempo…
34 …systemd-run --wait -p RuntimeDirectoryPreserve=yes -p DynamicUser=1 -p "${directory}"=zzz:yyy test…
[all …]
Dtestsuite-43.sh15 runas testuser systemd-run --wait --user --unit=test-private-users \
20 runas testuser systemd-run --wait --user --unit=test-private-tmp-innerfile \
28 runas testuser systemd-run --wait --user --unit=test-private-tmp-outerfile \
33 runas testuser systemd-run --wait --user --unit=test-unprotected-home \
38 runas testuser systemd-run --wait --user --unit=test-protect-home-read-only \
48 runas testuser systemd-run --wait --user --unit=test-protect-home-tmpfs \
54 runas testuser systemd-run --wait --user --unit=test-protect-home-yes \
66 runas testuser systemd-run --wait --user --unit=test-group-fail \
73 runas testuser systemd-run --wait --user --unit=test-bind-mount \
77 runas testuser systemd-run --wait --user --unit=test-read-write \
[all …]
Dtestsuite-20.sh17 systemd-run -p DynamicUser=1 --unit=test20-sleep.service /bin/sleep infinity
75 echo \$MAINPID >/run/mainpidsh/pid
79 …stemd-run --unit=test20-mainpidsh.service -p StandardOutput=tty -p StandardError=tty -p Type=forki…
99 echo \$MAINPID >/run/mainpidsh2/pid
100 chown 1001:1001 /run/mainpidsh2/pid
104 …temd-run --unit=test20-mainpidsh2.service -p StandardOutput=tty -p StandardError=tty -p Type=forki…
123 ln -s ../mainpidsh/pid /run/mainpidsh3/pid
126 test -f /run/mainpidsh3/pid
132 systemd-run --unit=test20-mainpidsh3.service \
137 -p PIDFile=/run/mainpidsh3/pid \
[all …]
Dtestsuite-17.04.sh6 mkdir -p /run/udev/rules.d/
8 test ! -f /run/udev/tags/added/c1:3
9 test ! -f /run/udev/tags/changed/c1:3
12 cat >/run/udev/rules.d/50-testsuite.rules <<EOF
21 test -f /run/udev/tags/added/c1:3
22 test ! -f /run/udev/tags/changed/c1:3
30 test -f /run/udev/tags/added/c1:3
31 test -f /run/udev/tags/changed/c1:3
39 test -f /run/udev/tags/added/c1:3
40 test -f /run/udev/tags/changed/c1:3
[all …]
Dtestsuite-68.sh28 cat >/run/systemd/system/testservice-failure-68.service <<EOF
36 cat >/run/systemd/system/testservice-failure-68-template.service <<EOF
44 cat >/run/systemd/system/testservice-success-68.service <<EOF
52 cat >/run/systemd/system/testservice-success-68-template.service <<EOF
99 cat >/run/systemd/system/testservice-success-exit-handler-68.service <<EOF
105 cp /run/systemd/system/testservice-success-exit-handler-68.service \
106 /run/systemd/system/testservice-transient-success-exit-handler-68.service
109 cat >/run/systemd/system/testservice-success-exit-handler-68-template@.service <<EOF
156 cat >/run/systemd/system/testservice-failure-exit-handler-68.service <<EOF
167 cp /run/systemd/system/testservice-failure-exit-handler-68.service \
[all …]
Dtestsuite-17.06.sh11 for f in /run/udev/watch/*; do
14 test "$(readlink "/run/udev/watch/${ID_OR_HANDLE}")" = "$(basename "$f")"
39 mkdir -p /run/udev/rules.d/
41 cat >/run/udev/rules.d/00-debug.rules <<EOF
45 cat >/run/udev/rules.d/50-testsuite.rules <<EOF
55 cat >/run/udev/rules.d/50-testsuite.rules <<EOF
65 rm /run/udev/rules.d/00-debug.rules
66 rm /run/udev/rules.d/50-testsuite.rules
Dtestsuite-48.sh7 cat >/run/systemd/system/testservice-48.target <<EOF
27 cat >/run/systemd/system/testservice-48.service <<EOF
38 rm -f /run/systemd/system/testservice-48.service
43 cat >/run/systemd/system/testservice-48.service <<EOF
60 rm -f /run/systemd/system/testservice-48.service /run/systemd/system/testservice-48.target
65 cat >/run/systemd/system/testservice-48.target <<EOF
75 cat >/run/systemd/system/testservice-48.service <<EOF
Dtestsuite-49.sh5 echo "MARKER_FIXED" >/run/testservice-49-fixed
6 mkdir -p /run/inaccessible
12 systemctl bind --mkdir testsuite-49-namespaced.service /run/testservice-49-fixed /run/inaccessible/…
15 echo "MARKER_RUNTIME" >/run/testservice-49-runtime
17 systemctl bind --mkdir testsuite-49-namespaced.service /run/testservice-49-runtime /tmp/testfile_ru…
30 systemctl bind --mkdir testsuite-49-non-namespaced.service /run/testservice-49-runtime /tmp/testfil…
Dtestsuite-12.sh8 U=/run/systemd/system/test12.socket
14 ListenStream=/run/test12.socket
19 cat >/run/systemd/system/test12@.service <<EOF
30 echo A | nc -w1 -U /run/test12.socket
36 echo B | nc -w1 -U /run/test12.socket && exit 1
41 echo C | nc -w1 -U /run/test12.socket && exit 1
46 echo D | nc -w1 -U /run/test12.socket
Dtestsuite-23.sh14 systemd-run --unit=one -p Type=simple /bin/sleep infinity
15 systemd-run --unit=two -p Type=simple -p User=idontexist /bin/sleep infinity
16 systemd-run --unit=three -p Type=simple /tmp/brokenbinary
19 systemd-run --unit=four -p Type=exec /bin/sleep infinity
20 systemd-run --unit=five -p Type=exec -p User=idontexist /bin/sleep infinity && { echo 'unexpected s…
21 systemd-run --unit=six -p Type=exec /tmp/brokenbinary && { echo 'unexpected success'; exit 1; }
23 systemd-run --unit=seven -p KillSignal=SIGTERM -p RestartKillSignal=SIGINT -p Type=exec /bin/sleep …
Dtestsuite-56.sh29 systemd-run --wait --unit=one -p Type=notify -p ExitType=cgroup \
33 systemd-run --wait --unit=two -p Type=notify -p ExitType=cgroup \
38 systemd-run --wait --unit=three -p Type=notify -p ExitType=cgroup \
44 systemd-run --wait --unit=four -p Type=notify -p ExitType=cgroup \
68 systemd-run --wait --unit=five -p Type=notify -p ExitType=cgroup \
72 systemd-run --wait --unit=six -p Type=notify -p ExitType=cgroup \
Dtestsuite-13.sh93 cat >/run/systemd/system/nspawn_machinectl_bind.service <<EOF
126 mkdir -p /run/systemd/nspawn/
127 cat >/run/systemd/nspawn/testsuite-13.nc-container.nspawn <<EOF
138 rm -f /run/systemd/nspawn/testsuite-13.nc-container.nspawn
141 function run { function
217 run no no $api_vfs_writable
218 run yes no $api_vfs_writable
219 run no yes $api_vfs_writable
220 run yes yes $api_vfs_writable
Dtestsuite-36.sh163 systemd-run -p NUMAPolicy=default -p NUMAMask=0 --unit "$runUnit" sleep 1000
311 systemd-run -p NUMAPolicy=default --unit "$runUnit" sleep 1000
315 systemd-run -p NUMAPolicy=default -p NUMAMask=0 --unit "$runUnit" sleep 1000
319 systemd-run -p NUMAPolicy=bind -p NUMAMask=0 --unit "$runUnit" sleep 1000
323 systemd-run -p NUMAPolicy=interleave -p NUMAMask=0 --unit "$runUnit" sleep 1000
327 systemd-run -p NUMAPolicy=preferred -p NUMAMask=0 --unit "$runUnit" sleep 1000
331 systemd-run -p NUMAPolicy=local --unit "$runUnit" sleep 1000
335 systemd-run -p NUMAPolicy=local -p NUMAMask=0 --unit "$runUnit" sleep 1000
339 systemd-run -p NUMAPolicy=local -p NUMAMask=0 -p CPUAffinity=numa --unit "$runUnit" sleep 1000
Dtestsuite-54.sh9 systemd-run -p LoadCredential=passwd:/etc/passwd \
57 systemd-run -p LoadCredential=passwd:/etc/passwd \
62 systemd-run -p LoadCredential=passwd:/etc/passwd \
74 systemd-run -p LoadCredential=cred:/tmp/ts54-creds \
92 systemd-run -p LoadCredentialEncrypted=test-54:/tmp/test-54-ciphertext \
101 systemd-run -p SetCredentialEncrypted=test-54:"$(cat /tmp/test-54-ciphertext)" \
Dtestsuite-19.sh7 systemd-run --wait --unit=test0.service -p "DynamicUser=1" -p "Delegate=" \
12 systemd-run --wait --unit=test1.service -p "DynamicUser=1" -p "Delegate=memory pids" \
15 systemd-run --wait --unit=test2.service -p "DynamicUser=1" -p "Delegate=memory pids" \
22 …systemd-run --wait --unit=test3.service -p "IOAccounting=yes" -p "Slice=system-foo-bar-baz.slice" …
30 systemd-run --wait --unit=test4.service true
Dtestsuite-18.sh6 systemd-run --wait -p FailureAction=poweroff true
7 systemd-run --wait -p SuccessAction=poweroff false && { echo 'unexpected success'; exit 1; }
11 systemd-run --wait -p SuccessAction=reboot true
14 systemd-run --wait -p FailureAction=poweroff false
/systemd-251/tmpfiles.d/
Dsystemd.conf.in10 d /run/user 0755 root root -
12 F! /run/utmp 0664 root utmp -
15 d /run/systemd/ask-password 0755 root root -
16 d /run/systemd/seats 0755 root root -
17 d /run/systemd/sessions 0755 root root -
18 d /run/systemd/users 0755 root root -
19 d /run/systemd/machines 0755 root root -
20 d /run/systemd/shutdown 0755 root root -
22 d /run/log 0755 root root -
24 z /run/log/journal 2755 root systemd-journal - -
[all …]
/systemd-251/test/
DREADME.testsuite6 To run the extended testsuite do the following:
9 $ sudo test/run-integration-tests.sh
13 + make -C TEST-01-BASIC clean setup run
22 + make -C TEST-02-CRYPTSETUP clean setup run
27 To run just one of the cases:
29 $ sudo make -C test/TEST-01-BASIC clean setup run
37 $ sudo BUILD_DIR=some-other-build/ test/run-integration-tests
49 To run the extended testsuite using the systemd installed on the system instead
52 $ sudo NO_BUILD=1 test/run-integration-tests
58 Don't run tests under qemu
[all …]
/systemd-251/.github/workflows/
Dmkosi.yml55run: sudo apt-get update && sudo apt-get install --no-install-recommends python3-pexpect python3-j…
58 run: |
72 run: ./.github/workflows/run_mkosi.sh build
75 run: ./.github/workflows/run_mkosi.sh summary
78 run: ./.github/workflows/run_mkosi.sh boot ${{ env.KERNEL_CMDLINE }}
81run: ./.github/workflows/run_mkosi.sh shell bash -c "[[ -e /testok ]] || { cat /failed-services; e…
89 run: ./.github/workflows/run_mkosi.sh qemu
93run: ./.github/workflows/run_mkosi.sh shell bash -c "[[ -e /testok ]] || { cat /failed-services; e…
Dcoverity.yml31run: echo "COVERITY_SCAN_NOTIFICATION_EMAIL=$(git log -1 ${{ github.sha }} --pretty=\"%aE\")" >> "…
33 run: tools/get-coverity.sh
36 run: sudo -E .github/workflows/unit_tests.sh SETUP
39 run: meson cov-build -Dman=false
41 run: tools/coverity.sh build
43 run: tools/coverity.sh upload
/systemd-251/src/rpm/
Dtriggers.systemd.sh.in13 # This script will run after any package is initially installed or
23 # On removal, we need to run daemon-reload after any units have been
25 # On upgrade, we need to run daemon-reload after any new unit files
45 # will run before the tmpfiles file trigger.
61 if test -d "/run/systemd/system"; then
69 # tmpfiles automatically. The priority is set such that it will run
71 if test -d "/run/systemd/system"; then
78 if test -e /run/udev/control; then
85 if test -d "/run/systemd/system"; then
Dsystemd-update-helper.in21 if [ -d /run/systemd/system ]; then
31 [ -d /run/systemd/system ] || exit 0
42 [ -d /run/systemd/system ] || exit 0
51 [ -d /run/systemd/system ] || exit 0
69 [ -d /run/systemd/system ] || exit 0
86 [ -d /run/systemd/system ] || exit 0

12345678910>>...17