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

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