debian-forge-composer/tools
Ondřej Budai e7b3063f7e test: properly kill journalctl
sudo journalctl -af -n 1 -u "${WORKER_UNIT}" &
WORKER_JOURNAL_PID=$!

In this snippet, WORKER_JOURNAL_PID is set to the PID of the sudo process.
Sudo doesn't propagate any signals - therefore the child process of sudo
(journalctl in this case) isn't killed when a signal is sent to the parent.

Use pkill -P instead which kills all processes where sudo is the parent.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2021-04-14 09:18:06 +02:00
..
deploy tools: Add script to generate all test cases in VMs 2021-02-01 10:22:28 +01:00
test-case-generators test: replace genisoimage with mkisofs 2021-04-02 14:21:29 +02:00
clouddot_build_deploy.sh tools: add delpoy script for clouddot 2020-12-22 15:27:39 +01:00
deploy-openstack tools: add deploy-openstack 2020-10-20 15:43:30 +02:00
deploy-qemu test: replace genisoimage with mkisofs 2021-04-02 14:21:29 +02:00
gen-certs.sh tools: Add internal container names to certs 2021-01-30 13:20:11 +00:00
gen-user-data tools/gen-user-data: don't depend on python3-pyyaml 2020-11-24 13:08:44 +01:00
image-info image-info: show format version for qcow2 2021-04-10 10:06:11 +02:00
koji-compose.py test: use DISTRO_CODE to select tests case 2021-03-26 14:05:20 +00:00
libvirt_test.sh test: properly kill journalctl 2021-04-14 09:18:06 +02:00
prepare-source.sh go: bump to 1.14 2021-02-01 15:32:58 +01:00
provision.sh test: add integration test for the azure upload 2021-03-06 15:40:48 +00:00
run-koji-container.sh tools: move to new utility-container builds 2021-02-23 09:47:17 +01:00