/systemd-251/test/units/ ! |
D | testsuite-68.sh | 33 ExecStart=sh -c "exit 1" 41 ExecStart=sh -c "exit 1" 49 ExecStart=sh -c "exit 0" 57 ExecStart=sh -c "exit 0" 62 cat >/tmp/check_on_success.sh <<"EOF" 97 chmod +x /tmp/check_on_success.sh 101 ExecStartPre=/tmp/check_on_success.sh 102 ExecStart=/tmp/check_on_success.sh 112 ExecStartPre=/tmp/check_on_success.sh 113 ExecStart=/tmp/check_on_success.sh [all …]
|
D | testsuite-56.sh | 7 cat >/tmp/test56-exit-cgroup.sh <<EOF 26 chmod +x /tmp/test56-exit-cgroup.sh 30 /tmp/test56-exit-cgroup.sh 'systemctl stop one' 35 /tmp/test56-exit-cgroup.sh 'systemctl stop two' 40 /tmp/test56-exit-cgroup.sh \ 45 /tmp/test56-exit-cgroup.sh 'systemctl kill --signal 9 four' \ 50 cat >/tmp/test56-exit-cgroup-parentless.sh <<EOF 65 chmod +x /tmp/test56-exit-cgroup-parentless.sh 69 /tmp/test56-exit-cgroup-parentless.sh 'systemctl stop five' 73 /tmp/test56-exit-cgroup-parentless.sh 'systemctl kill --signal 9 six'
|
D | testsuite-20.sh | 58 cat >/tmp/test20-mainpid.sh <<EOF 77 chmod +x /tmp/test20-mainpid.sh 79 … -p Type=forking -p RuntimeDirectory=mainpidsh -p PIDFile=/run/mainpidsh/pid /tmp/test20-mainpid.sh 82 cat >/tmp/test20-mainpid2.sh <<EOF 102 chmod +x /tmp/test20-mainpid2.sh 104 … Type=forking -p RuntimeDirectory=mainpidsh2 -p PIDFile=/run/mainpidsh2/pid /tmp/test20-mainpid2.sh 107 cat >/dev/shm/test20-mainpid3.sh <<EOF 128 chmod 755 /dev/shm/test20-mainpid3.sh 140 /dev/shm/test20-mainpid3.sh \ 156 su "$userid" -s /bin/sh -c 'XDG_RUNTIME_DIR=/run/user/$UID exec "$@"' -- sh "$@"
|
D | testsuite-63.service | 16 ExecStart=sh -x -c 'test "$(systemctl show test63.service -P ActiveState)" = inactive' 17 ExecStart=sh -x -c 'test "$(systemctl show test63.service -P Result)" = success' 18 ExecStart=sh -x -c 'test "$(systemctl show test63.path -P ActiveState)" = failed' 19 ExecStart=sh -x -c 'test "$(systemctl show test63.path -P Result)" = trigger-limit-hit' 26 ExecStart=sh -x -c 'test "$(systemctl show test63.service -P ActiveState)" = inactive' 27 ExecStart=sh -x -c 'test "$(systemctl show test63.service -P Result)" = success' 28 ExecStart=sh -x -c 'test "$(systemctl show test63.path -P ActiveState)" = active' 29 ExecStart=sh -x -c 'test "$(systemctl show test63.path -P Result)" = success' 30 ExecStart=sh -x -c 'echo OK >/testok'
|
D | testsuite-42.sh | 17 … -p StandardError=tty -p Type=exec -p ExecStopPost='/bin/touch /run/exec2' sh -c 'sleep 1; false' \ 21 cat >/tmp/forking1.sh <<EOF 32 chmod +x /tmp/forking1.sh 34 …ty -p Type=forking -p NotifyAccess=exec -p ExecStopPost='/bin/touch /run/forking1' /tmp/forking1.sh 37 cat >/tmp/forking2.sh <<EOF 48 chmod +x /tmp/forking2.sh 50 … -p Type=forking -p NotifyAccess=exec -p ExecStopPost='/bin/touch /run/forking2' /tmp/forking2.sh \ 73 cat >/tmp/notify1.sh <<EOF 80 chmod +x /tmp/notify1.sh 82 …t=tty -p StandardError=tty -p Type=notify -p ExecStopPost='/bin/touch /run/notify1' /tmp/notify1.sh
|
D | testsuite-13.sh | 30 if unshare -U sh -c :; then 40 systemd-nspawn --register=no -D "$_root" --bind=/tmp/bind /bin/sh -c 'test -e /tmp/bind' 52 …systemd-nspawn --register=no -D "$_root" --bind=/tmp/binddir:/mnt:norbind /bin/sh -c 'CONTENT=$(ca… 59 systemd-nspawn --register=no -D /testsuite-13.nc-container /bin/sh -x -c "$_cmd" 60 systemd-nspawn --register=no -D /testsuite-13.nc-container -U /bin/sh -x -c "$_cmd" 82 … /testsuite-13.nc-container --bind="${_os_release_source}":/tmp/os-release /bin/sh -x -e -c "$_cmd" 96 ExecStart=systemd-nspawn ${SUSE_OPTS[@]} -D /testsuite-13.nc-container --notify-ready=no /bin/sh -x… 134 …systemd-nspawn --register=no -D /testsuite-13.nc-container --ephemeral /bin/sh -x -c "test -f /tmp… 136 …systemd-nspawn --register=no -D /testsuite-13.nc-container --ephemeral --machine foobar /bin/sh -x…
|
D | testsuite-27.sh | 13 sh -c 'echo x ; echo y >&2' 25 sh -c 'echo z ; echo a >&2' 37 sh -c 'echo b ; echo c >&2' 51 sh -c 'echo a ; echo b >&2'
|
D | testsuite-43.sh | 12 su "$userid" -s /bin/sh -c 'XDG_RUNTIME_DIR=/run/user/$UID exec "$@"' -- sh "$@" 90 sh -c "ls -1 /dev/ | wc -l | grep -q -F 18" 95 …/bin/sh -x -c '! ip link | grep -E "^[0-9]+: " | grep -Ev ": (lo|(erspan|gre|gretap|ip_vti|ip6_vti… 109 sh -c "echo 0 > /proc/sys/user/max_user_namespaces" \ 114 sh -c "modprobe -r overlay && modprobe overlay" \
|
D | testsuite-62-1.service | 5 ExecStart=/bin/sh -c 'ping -c 1 -W 0.2 192.168.113.1' 6 ExecStart=/bin/sh -c 'ping -c 1 -W 0.2 192.168.113.5' 7 ExecStart=/bin/sh -c 'ping -c 1 -W 0.2 192.168.113.9'
|
D | testsuite-62-2.service | 5 ExecStart=/bin/sh -c 'ping -c 1 -W 0.2 192.168.113.1' 6 ExecStart=/bin/sh -c 'ping -c 1 -W 0.2 192.168.113.5' 7 ExecStart=/bin/sh -c '! ping -c 1 -W 0.2 192.168.113.9'
|
D | testsuite-62-3.service | 5 ExecStart=/bin/sh -c '! ping -c 1 -W 0.2 192.168.113.1' 6 ExecStart=/bin/sh -c '! ping -c 1 -W 0.2 192.168.113.5' 7 ExecStart=/bin/sh -c 'ping -c 1 -W 0.2 192.168.113.9'
|
D | testsuite-62-4.service | 5 ExecStart=/bin/sh -c 'ping -c 1 -W 0.2 192.168.113.1' 6 ExecStart=/bin/sh -c 'ping -c 1 -W 0.2 192.168.113.5' 7 ExecStart=/bin/sh -c 'ping -c 1 -W 0.2 192.168.113.9'
|
/systemd-251/src/shared/ ! |
D | btrfs-util.c | 423 #define FOREACH_BTRFS_IOCTL_SEARCH_HEADER(i, sh, args) \ argument 425 (sh) = (const struct btrfs_ioctl_search_header*) (args).buf; \ 428 …(sh) = (const struct btrfs_ioctl_search_header*) ((uint8_t*) (sh) + sizeof(struct btrfs_ioctl_sear… 430 #define BTRFS_IOCTL_SEARCH_HEADER_BODY(sh) \ argument 431 ((void*) ((uint8_t*) sh + sizeof(struct btrfs_ioctl_search_header))) 471 const struct btrfs_ioctl_search_header *sh; in btrfs_subvol_get_info_fd() local 481 FOREACH_BTRFS_IOCTL_SEARCH_HEADER(i, sh, args) { in btrfs_subvol_get_info_fd() 486 btrfs_ioctl_search_args_set(&args, sh); in btrfs_subvol_get_info_fd() 488 if (sh->objectid != subvol_id) in btrfs_subvol_get_info_fd() 490 if (sh->type != BTRFS_ROOT_ITEM_KEY) in btrfs_subvol_get_info_fd() [all …]
|
/systemd-251/test/test-execute/ ! |
D | exec-specifier@.service | 21 ExecStart=sh -c 'test %u = $$(id -un)' 22 ExecStart=sh -c 'test %U = $$(id -u)' 23 ExecStart=sh -c 'test %g = $$(id -gn)' 24 ExecStart=sh -c 'test %G = $$(id -g)' 26 ExecStart=sh -c 'test %s = /bin/sh' 27 ExecStart=sh -c 'test %m = $$(cat /etc/machine-id)' 28 ExecStart=sh -c 'test %b = $$(cat /proc/sys/kernel/random/boot_id | sed -e 's/-//g')' 29 ExecStart=sh -c 'test %H = $$(uname -n)' 30 ExecStart=sh -c 'test %v = $$(uname -r)'
|
D | exec-specifier.service | 24 ExecStart=sh -c 'test %u = $$(id -un)' 25 ExecStart=sh -c 'test %U = $$(id -u)' 26 ExecStart=sh -c 'test %g = $$(id -gn)' 27 ExecStart=sh -c 'test %G = $$(id -g)' 29 ExecStart=sh -c 'test %s = /bin/sh' 30 ExecStart=sh -c 'test %m = $$(cat /etc/machine-id)' 31 ExecStart=sh -c 'test %b = $$(cat /proc/sys/kernel/random/boot_id | sed -e 's/-//g')' 32 ExecStart=sh -c 'test %H = $$(uname -n)' 33 ExecStart=sh -c 'test %v = $$(uname -r)'
|
D | exec-temporaryfilesystem-ro.service | 9 ExecStart=/bin/sh -c 'test -d /var/test-exec-temporaryfilesystem/rw && test -d /var/test-exec-tempo… 12 ExecStart=/bin/sh -c 'for i in $$(ls -A /var); do test $$i = test-exec-temporaryfilesystem || false… 15 ExecStart=sh -x -c 'test "$$(stat -c %%a /var)" = "755"' 18 ExecStart=/bin/sh -c '! touch /var/hoge' 21 ExecStart=/bin/sh -c 'touch /var/test-exec-temporaryfilesystem/rw/thisisasimpletest-temporaryfilesy… 24 ExecStart=/bin/sh -c 'test -f /tmp/thisisasimpletest-temporaryfilesystem' 27 ExecStart=/bin/sh -c 'test -f /var/test-exec-temporaryfilesystem/ro/thisisasimpletest-temporaryfile… 30 ExecStart=/bin/sh -c '! touch /var/test-exec-temporaryfilesystem/ro/thisisasimpletest-temporaryfile… 33 ExecStart=/bin/sh -c 'rm /tmp/thisisasimpletest-temporaryfilesystem'
|
D | exec-supplementarygroups-multiple-groups-default-group-user.service | 6 ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "%G" && HAVE=1; done; test "$$… 7 ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "1" && HAVE=1; done; test "$$H… 8 ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "2" && HAVE=1; done; test "$$H… 9 ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "3" && HAVE=1; done; test "$$H… 10 ExecStart=/bin/sh -x -c 'test "$$(id -g)" = "%G" && test "$$(id -u)" = "%U"'
|
D | exec-dynamicuser-runtimedirectory3.service | 6 ExecStart=/bin/sh -x -c 'test -d %t/test-exec_runtimedirectorypreserve' 7 ExecStart=/bin/sh -x -c 'test "$$RUNTIME_DIRECTORY" = "%t/test-exec_runtimedirectorypreserve"' 8 ExecStart=/bin/sh -x -c 'test -f $$RUNTIME_DIRECTORY/test' 9 ExecStart=/bin/sh -x -c 'touch $$RUNTIME_DIRECTORY/test'
|
D | exec-dynamicuser-runtimedirectory2.service | 6 ExecStart=/bin/sh -x -c 'test -d %t/test-exec_runtimedirectorypreserve' 7 ExecStart=/bin/sh -x -c 'test "$$RUNTIME_DIRECTORY" = "%t/test-exec_runtimedirectorypreserve"' 8 ExecStart=/bin/sh -x -c 'test -f $$RUNTIME_DIRECTORY/test' 9 ExecStart=/bin/sh -x -c 'touch $$RUNTIME_DIRECTORY/test'
|
D | exec-condition-skip.service | 9 ExecCondition=/bin/sh -c 'exit 0' 10 ExecCondition=/bin/sh -c 'exit 254' 13 ExecCondition=/bin/sh -c 'exit 255' 16 ExecStart=/bin/sh -c 'true'
|
D | exec-supplementarygroups-multiple-groups-withgid.service | 6 ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "1" && HAVE=1; done; test "$$H… 7 ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "2" && HAVE=1; done; test "$$H… 8 ExecStart=/bin/sh -x -c 'HAVE=0; for g in $$(id -G); do test "$$g" = "3" && HAVE=1; done; test "$$H… 9 ExecStart=/bin/sh -x -c 'test "$$(id -g)" = "1" && test "$$(id -u)" = "%U"'
|
D | exec-temporaryfilesystem-options.service | 13 ExecStart=/bin/sh -x -c 'test "$$(awk \'$$5 == "/var" && $$11 !~ /(^|,)mode=700(,|$$)/ { print $$6 … 15 ExecStart=/bin/sh -x -c 'test "$$(awk \'$$5 == "/var" && $$6 !~ /(^|,)ro(,|$$)/ { print $$6 }\' /pr… 16 ExecStart=/bin/sh -x -c 'test "$$(awk \'$$5 == "/var" && $$6 !~ /(^|,)nodev(,|$$)/ { print $$6 }\' … 17 ExecStart=/bin/sh -x -c 'test "$$(awk \'$$5 == "/var" && $$6 ~ /(^|,)strictatime(,|$$)/ { print $$6…
|
/systemd-251/test/ ! |
D | meson.build | 89 test_fstab_generator_sh = find_program('test-fstab-generator.sh') 90 test_network_generator_conversion_sh = find_program('test-network-generator-conversion.sh') 91 test_systemctl_enable_sh = find_program('test-systemctl-enable.sh') 93 hwdb_test_sh = find_program('hwdb-test.sh') 98 input : 'test-sysusers.sh.in', 99 output : 'test-sysusers.sh', 126 install_data('test-fstab-generator.sh', 130 install_data('test-network-generator-conversion.sh', 160 test_rpm_macros = find_program('test-rpm-macros.sh') 176 udev_dmi_memory_id_test = find_program('udev-dmi-memory-id-test.sh') [all …]
|
/systemd-251/.github/workflows/ ! |
D | mkosi.yml | 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 }} 81 …run: ./.github/workflows/run_mkosi.sh shell bash -c "[[ -e /testok ]] || { cat /failed-services; e… 89 run: ./.github/workflows/run_mkosi.sh qemu 93 …run: ./.github/workflows/run_mkosi.sh shell bash -c "[[ -e /testok ]] || { cat /failed-services; e…
|
D | coverity.yml | 33 run: tools/get-coverity.sh 36 run: sudo -E .github/workflows/unit_tests.sh SETUP 41 run: tools/coverity.sh build 43 run: tools/coverity.sh upload
|