xorm-redis-cache/run_test.sh
2014-08-20 17:02:03 +08:00

7 lines
136 B
Bash
Executable File

redis-cli FLUSHALL
if [ $? == "0" ];then
go test -v -run=TestMysqlWithCache
else
echo "no redis-server running on localhost"
fi