[pacman-dev] [PATCH v2] hooks: Complain if hook parameters are overwritten. Fixed 2 space leaks.

Allan McRae allan at archlinux.org
Wed Mar 14 03:03:43 UTC 2018


On 26/02/18 03:36, Stefan Klinger wrote:
> Signed-off-by: Stefan Klinger <git at stefan-klinger.de>
> ---
>  lib/libalpm/hook.c                           | 16 ++++++++++++++++
>  test/pacman/tests/TESTS                      |  4 ++++
>  test/pacman/tests/hook-description-reused.py | 23 +++++++++++++++++++++++
>  test/pacman/tests/hook-exec-reused.py        | 22 ++++++++++++++++++++++
>  test/pacman/tests/hook-type-reused.py        | 22 ++++++++++++++++++++++
>  test/pacman/tests/hook-when-reused.py        | 22 ++++++++++++++++++++++
>  6 files changed, 109 insertions(+)
>  create mode 100644 test/pacman/tests/hook-description-reused.py
>  create mode 100644 test/pacman/tests/hook-exec-reused.py
>  create mode 100644 test/pacman/tests/hook-type-reused.py
>  create mode 100644 test/pacman/tests/hook-when-reused.py


Thanks - patch looks good.   Even better due to the inclusion of test
suite additions!

A


More information about the pacman-dev mailing list