summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Pujol <alexandre@pujol.io>2017-05-01 21:48:28 (GMT)
committer Alexandre Pujol <alexandre@pujol.io>2017-05-01 21:48:28 (GMT)
commit045c55436f03bc5de31bc3fc38a5417bcc672dc7 (patch)
tree72098a1aec5776364b27bf86f32ba24ce40404af
parent8aaa8e17255779ff500d4937850b0206c18dd4e7 (diff)
Regression tests: add old tomb version, support for zsh 5.3
-rw-r--r--extras/test/40_regression.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/extras/test/40_regression.sh b/extras/test/40_regression.sh
index faf89a3..c7096c1 100644
--- a/extras/test/40_regression.sh
+++ b/extras/test/40_regression.sh
@@ -4,7 +4,10 @@ export test_description="Tomb regression tests"
source ./setup
-TOMB_VERSION=("2.3")
+TOMB_VERSION=("2.3" "2.2" "2.0.1" "2.1")
+zshversion=$(zsh --version | awk 'NR==1 {print $2}')
+[[ $zshversion =~ "5.3" ]] && TOMB_VERSION=("2.3")
+
for version in "${TOMB_VERSION[@]}"; do
URL="https://files.dyne.org/tomb/old-releases/Tomb-$version.tar.gz"