summaryrefslogtreecommitdiff
path: root/runtest-moduleapi
diff options
context:
space:
mode:
authorOran Agra <oran@redislabs.com>2019-07-17 08:51:02 +0300
committerOran Agra <oran@redislabs.com>2019-07-17 16:40:24 +0300
commit56258c6b7d26b6ee44bf31b18e9aad95d0a0142a (patch)
tree421767e1db948bba5bd9bff86562a5afe57f589e /runtest-moduleapi
parent4b2579a0644e469edb80e7c979f44ec7f2724368 (diff)
downloadredis-56258c6b7d26b6ee44bf31b18e9aad95d0a0142a.tar.gz
Module API for Forking
* create module API for forking child processes. * refactor duplicate code around creating and tracking forks by AOF and RDB. * child processes listen to SIGUSR1 and dies exitFromChild in order to eliminate a valgrind warning of unhandled signal. * note that BGSAVE error reply has changed. valgrind error is: Process terminating with default action of signal 10 (SIGUSR1)
Diffstat (limited to 'runtest-moduleapi')
-rwxr-xr-xruntest-moduleapi3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtest-moduleapi b/runtest-moduleapi
index 84cdb9bb8..da61ab25c 100755
--- a/runtest-moduleapi
+++ b/runtest-moduleapi
@@ -13,4 +13,5 @@ then
fi
make -C tests/modules && \
-$TCLSH tests/test_helper.tcl --single unit/moduleapi/commandfilter "${@}"
+$TCLSH tests/test_helper.tcl --single unit/moduleapi/commandfilter --single unit/moduleapi/fork "${@}"
+