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