Command增删功能调试通过。

This commit is contained in:
zhengchao
2017-07-05 20:58:38 +08:00
parent 5d765975d1
commit 1936dd60f2
7 changed files with 189 additions and 83 deletions

10
test/reset_redis4maat.sh Normal file
View File

@@ -0,0 +1,10 @@
#!/bin/sh
host="127.0.0.1"
port="6379"
echo "Reseting Redis For Maat..."
redis-cli -h $host -p $port GET MAAT_VERSION
redis-cli -h $host -p $port FLUSHALL
redis-cli -h $host -p $port SET MAAT_VERSION 1
redis-cli -h $host -p $port SET SEQUENCE_REGION 1
redis-cli -h $host -p $port SET SEQUENCE_GROUP 1