blob: 493d0b74cfda9efb6d5aa8efeed2ef8dea22d21f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#!/bin/sh
set -e
if [ $# != "1" ]
then
echo "Usage: ./utils/releasetools/03_test_release.sh <version_tag>"
exit 1
fi
TAG=$1
TARNAME="redis-${TAG}.tar.gz"
DOWNLOADURL="http://download.redis.io/releases/${TARNAME}"
echo "Doing sanity test on the actual tarball"
cd /tmp
rm -rf test_release_tmp_dir
mkdir test_release_tmp_dir
cd test_release_tmp_dir
rm -f $TARNAME
rm -rf redis-${TAG}
wget $DOWNLOADURL
tar xvzf $TARNAME
cd redis-${TAG}
make
./runtest
./runtest-sentinel
./runtest-cluster
./runtest-moduleapi
|