From: Sandro Santilli Date: Thu, 11 Jan 2018 16:43:53 +0000 (+0000) Subject: Do not try to test upgrade from-to the same version X-Git-Tag: 2.5.0alpha~199 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=54c274d4983996892e06c36a12470b6b51562f89;p=postgis Do not try to test upgrade from-to the same version git-svn-id: http://svn.osgeo.org/postgis/trunk@16258 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/utils/check_all_upgrades.sh b/utils/check_all_upgrades.sh index 42d5a463b..b69b477c1 100755 --- a/utils/check_all_upgrades.sh +++ b/utils/check_all_upgrades.sh @@ -14,6 +14,10 @@ failures=0 files=`'ls' postgis--* | grep -v -- '--.*--' | sed 's/^postgis--\(.*\)\.sql/\1/'` for fname in unpackaged $files; do from_version="$fname" + if test "${from_version}" = "${to_version}"; then + # TODO: upgrade to ${from_version}next instead ? + continue + fi UPGRADE_PATH="${from_version}--${to_version}" if test -e postgis--${UPGRADE_PATH}.sql; then echo "Testing upgrade $UPGRADE_PATH"