]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: support coreutils built with --enable-single-binary=symlinks
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 27 Sep 2025 04:29:07 +0000 (13:29 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 7 Dec 2025 00:09:03 +0000 (09:09 +0900)
commit355bcc243ca30dd56ab142d5bfb5579c312192ca
tree4434213b20f57973632bf0ac6e6fafc42537da12
parent8374085f2243296c38cd11b4ad50f6dd087696cb
test: support coreutils built with --enable-single-binary=symlinks

Alpine/postmarketOS build coreutils with --enable-single-binary=symlinks.
In that case, all commands provided by coreutils are symlink to
/usr/bin/coreutils, and it calls prctl(PR_SET_NAME, argv[0]), hence the comm
will be the path to the symlink.

This also makes not kill sleep command with SIGKILL in TEST-17-UDEV, that is
totally unnecessary.
src/test/test-execute.c
test/integration-tests/TEST-17-UDEV/meson.build
test/integration-tests/TEST-59-RELOADING-RESTART/meson.build
test/units/TEST-07-PID1.private-pids.sh
test/units/TEST-17-UDEV.device_is_processing.sh
test/units/TEST-82-SOFTREBOOT.sh
test/units/TEST-87-AUX-UTILS-VM.coredump.sh