summaryrefslogtreecommitdiffstats
path: root/debian/tests/0004-redis-check-rdb
blob: 73d5de112de0afcf673459c72269b560e37ddf30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
#
# Test redis-check-rdb

set -eu

service redis-server restart

sleep 5

# Perform a synchronous save to ensure .rdb file eixsts
redis-cli SAVE

redis-check-rdb /var/lib/redis/dump.rdb