rsyslog/tests/imhiredis-redis-start-after-vg.sh
frikilax 4ef42fde7a REDIS::ADDED:: Implement tests for imhiredis module
- changed diag.sh to be able to start/stop/clean a redis server
- added helper functions in diag.sh to be able to query a redis server instance
- added new tests for imhiredis module to check
  - that the queue mode works, with both lpop and rpop
  - that the module is capable of handling a redis server going down
  - that the module is capable of handling a redis server that appears afterwards
  - that the subscribe mode works
2023-05-17 12:02:22 +02:00

8 lines
204 B
Bash
Executable File

#!/usr/bin/env bash
# added 2023-04-20 by Théo Bertin, released under ASL 2.0
## Uncomment for debugging
#export RS_REDIR=-d
export USE_VALGRIND="YES"
source ${srcdir:=.}/imhiredis-redis-start-after.sh