summaryrefslogtreecommitdiffstats
path: root/debian/tests/0005-cjson
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/0005-cjson')
-rwxr-xr-xdebian/tests/0005-cjson11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/tests/0005-cjson b/debian/tests/0005-cjson
new file mode 100755
index 0000000..cc07c3c
--- /dev/null
+++ b/debian/tests/0005-cjson
@@ -0,0 +1,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