Univention Bugzilla – Bug 34593
Test process module
Last modified: 2023-03-25 06:43:10 CET
The UMC backend module for prcoesses should be testes through something like umc-command: kill, force-kill It's probably best to create a customized process from the test-script itself, which can then be safely killed.
r49549: * 60_umc-system/22_umc-service-proc-killing: test UMC process killing (Bug #34593) * 60_umc-system/TestUMCSystemModule.py: added method to make top/query request
OK: r49549 r50348 OK: SIGTERM OK: SIGKILL FAIL: Please add a test for a process ignoring SIGTERM; see patch FYI: Some comments as patch — feel free to pick and include Otherwise excellent work!
Created attachment 5949 [details] Test UMC top b7cd99c Bug #34593 ucs-test/UMC/top: Masked SIGTERM eb75c06 Bug #34593 ucs-test/UMC/top: use fork() 65804ab Bug #34593 ucs-test/UMC/top: Common code 02f4720 Bug #34593 ucs-test/UMC/top: signal 1b0a5d2 Bug #34593 ucs-test/UMC/top: Error details 5e8d933 Bug #34593 ucs-test/UMC/top: Document wait4()
r51054: * 60_umc-system/22_umc-service-proc-killing: test extension and update after the review (Bug #34593)
OK: r51054 OK: /usr/share/ucs-test/60_umc-system/22_umc-service-proc-killing -vvvf