File: 0005-cjson

package info (click to toggle)
redict 7.3.6%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,112 kB
  • sloc: ansic: 129,434; tcl: 46,164; makefile: 930; python: 815; ruby: 572; sh: 482; javascript: 30
file content (11 lines) | stat: -rwxr-xr-x 157 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
#
# Check we can load/use the cjson extension.

set -eu

RUNLEVEL=1 service redict-server restart

sleep 5

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