summaryrefslogtreecommitdiffstats
path: root/debian/tests/0005-cjson
blob: cc07c3c617946d452cd13669efbcd9f18a03e077 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
#
# Check we can load/use the cjson extension.

set -eu

service redis-server restart

sleep 5

redis-cli EVAL 'cjson.decode("{}")' 0