aboutsummaryrefslogtreecommitdiff
path: root/contrib/unbound/testdata/redis_reconnect_interval.tdir/redis_reconnect_interval.post
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/unbound/testdata/redis_reconnect_interval.tdir/redis_reconnect_interval.post')
-rw-r--r--contrib/unbound/testdata/redis_reconnect_interval.tdir/redis_reconnect_interval.post18
1 files changed, 18 insertions, 0 deletions
diff --git a/contrib/unbound/testdata/redis_reconnect_interval.tdir/redis_reconnect_interval.post b/contrib/unbound/testdata/redis_reconnect_interval.tdir/redis_reconnect_interval.post
new file mode 100644
index 000000000000..fc48d7e38145
--- /dev/null
+++ b/contrib/unbound/testdata/redis_reconnect_interval.tdir/redis_reconnect_interval.post
@@ -0,0 +1,18 @@
+# #-- redis_reconnect_interval.post --#
+# source the master var file when it's there
+[ -f ../.tpkg.var.master ] && source ../.tpkg.var.master
+# source the test var file when it's there
+[ -f .tpkg.var.test ] && source .tpkg.var.test
+#
+# do your teardown here
+. ../common.sh
+kill_pid $REDIS_PID
+kill_pid $REDIS_REPLICA_PID
+kill_pid $UNBOUND_PID
+echo "> cat logfiles"
+echo "redis server.log"
+cat server.log
+echo "redis replica.log"
+cat replica.log
+echo "unbound.log"
+cat unbound.log