aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Marc-Antoine Perennou <Marc-Antoine@Perennou.com> 2019-04-18 17:03:16 +0200
committerAvatar Marc-Antoine Perennou <Marc-Antoine@Perennou.com> 2019-04-18 17:03:44 +0200
commitc48be591595df4820d330724ee56393f9feba4ff (patch)
treed45c2d0c45ff2f6ac8b7deb945b070f1997017de
parentc650ae48506d2c7e54d37b0ec379de2c2f073ea6 (diff)
downloadpaludis-c48be591595df4820d330724ee56393f9feba4ff.tar.gz
paludis-c48be591595df4820d330724ee56393f9feba4ff.tar.xz
tests: fix BASH_COMPAT tests with bash 5
Bash now overrides this with a new value with no dot Fixes #2 Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
-rwxr-xr-xpaludis/repositories/e/e_repository_TEST_5_setup.sh2
-rwxr-xr-xpaludis/repositories/e/e_repository_TEST_6_setup.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/paludis/repositories/e/e_repository_TEST_5_setup.sh b/paludis/repositories/e/e_repository_TEST_5_setup.sh
index c29332503..e34f220a5 100755
--- a/paludis/repositories/e/e_repository_TEST_5_setup.sh
+++ b/paludis/repositories/e/e_repository_TEST_5_setup.sh
@@ -747,7 +747,7 @@ LICENSE="GPL-2"
KEYWORDS="test"
pkg_setup() {
- [[ ${BASH_COMPAT} == 3.2 ]] || die BASH_COMPAT=${BASH_COMPAT}
+ [[ ${BASH_COMPAT} == 3.2 ]] || [[ ${BASH_COMPAT} == 32 ]] || die BASH_COMPAT=${BASH_COMPAT}
}
END
diff --git a/paludis/repositories/e/e_repository_TEST_6_setup.sh b/paludis/repositories/e/e_repository_TEST_6_setup.sh
index b880a503b..fbb4bc530 100755
--- a/paludis/repositories/e/e_repository_TEST_6_setup.sh
+++ b/paludis/repositories/e/e_repository_TEST_6_setup.sh
@@ -1955,7 +1955,7 @@ LICENSE="GPL-2"
KEYWORDS="test"
pkg_setup() {
- [[ ${BASH_COMPAT} == 4.2 ]] || die BASH_COMPAT=${BASH_COMPAT}
+ [[ ${BASH_COMPAT} == 4.2 ]] || [[ ${BASH_COMPAT} == 42 ]] || die BASH_COMPAT=${BASH_COMPAT}
}
END