Library/vendor/github.com/go-xorm/xorm-redis-cache/run_test.sh

7 lines
136 B
Bash
Raw Normal View History

2017-12-01 10:32:44 +00:00
redis-cli FLUSHALL
if [ $? == "0" ];then
go test -v -run=TestMysqlWithCache
else
echo "no redis-server running on localhost"
fi