]> git.proxmox.com Git - pmg-api.git/commit
test_greylist: remove use of system
authorStoiko Ivanov <s.ivanov@proxmox.com>
Tue, 21 Apr 2020 10:43:30 +0000 (12:43 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 21 Apr 2020 16:42:37 +0000 (18:42 +0200)
commitfbe172292d5fd80e0e88f683f8a1639cf3b86913
tree3429426b9a79cf5052daa398097b5dbb0c9a035f
parentaa7c37450afa660153768b4bd21b74ca60d7f38f
test_greylist: remove use of system

the pmgpolicy daemon started for the tests needs to be stopped (by sending
a SIGTERM).
Instead of resorting to system, use perl's builtin kill.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
src/tests/test_greylist.pl