summaryrefslogtreecommitdiffstats
path: root/test/pacman/tests/TESTS
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2018-10-03 09:42:38 +0200
committerAndrew Gregory <andrew@archlinux.org>2018-11-19 02:25:18 +0100
commit2a7bdd3e3aabbf9fa3cc31379cadad909e6c1da3 (patch)
tree1dbf808e241d4793e99f11f467e05b8fdfa977dd /test/pacman/tests/TESTS
parentb39a62f57551a2e23ceaa37b3fbc71a2273545e6 (diff)
downloadpacman-2a7bdd3e3aabbf9fa3cc31379cadad909e6c1da3.tar.gz
pacman-2a7bdd3e3aabbf9fa3cc31379cadad909e6c1da3.tar.xz
reset signal handlers before running scripts/hooks
Front-ends or libraries may set signals to be ignored, which gets inherited across fork and exec. This can cause scripts to malfunction if they expect the signal. To make matters worse, scripts written in bash can't reset signals that were ignored when bash was started. Fixes FS#56756 Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> (cherry picked from commit 9886566abb375043740167ce5066f1a186c71176)
Diffstat (limited to 'test/pacman/tests/TESTS')
-rw-r--r--test/pacman/tests/TESTS1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/pacman/tests/TESTS b/test/pacman/tests/TESTS
index a9b4288c..fec4bc2f 100644
--- a/test/pacman/tests/TESTS
+++ b/test/pacman/tests/TESTS
@@ -150,6 +150,7 @@ TESTS += test/pacman/tests/replace102.py
TESTS += test/pacman/tests/replace103.py
TESTS += test/pacman/tests/replace104.py
TESTS += test/pacman/tests/replace110.py
+TESTS += test/pacman/tests/scriptlet-signal-reset.py
TESTS += test/pacman/tests/scriptlet001.py
TESTS += test/pacman/tests/scriptlet002.py
TESTS += test/pacman/tests/sign001.py