mirror of
http://github.com/valkey-io/valkey
synced 2024-11-23 03:33:28 +00:00
25 lines
657 B
Bash
Executable File
25 lines
657 B
Bash
Executable File
#!/bin/sh
|
|
if [ $# != "1" ]
|
|
then
|
|
echo "Usage: ${0} <git-ref>"
|
|
exit 1
|
|
fi
|
|
|
|
TAG=$1
|
|
TARNAME="redis-${TAG}.tar.gz"
|
|
DOWNLOADURL="http://download.redis.io/releases/${TARNAME}"
|
|
|
|
ssh antirez@metal "export TERM=xterm;
|
|
cd /tmp;
|
|
rm -rf test_release_tmp_dir;
|
|
cd test_release_tmp_dir;
|
|
wget $DOWNLOADURL;
|
|
tar xvzf $TARNAME;
|
|
cd redis-${TAG};
|
|
make;
|
|
./runtest;
|
|
./runtest-sentinel;
|
|
if [ -x runtest-cluster ]; then
|
|
./runtest-cluster;
|
|
fi"
|