"Fossies" - the Fresh Open Source Software Archive

Member "redis-7.0.5/utils/releasetools/03_test_release.sh" (21 Sep 2022, 517 Bytes) of package /linux/misc/redis-7.0.5.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

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