Skip to content
This repository was archived by the owner on Jan 26, 2022. It is now read-only.

Commit 81e7d6d

Browse files
committed
Downgrade libxml2
The libxml2 version 2.9.12 breaks 158 unit tests in Magento. Downgrading solves this.
1 parent ae0ae50 commit 81e7d6d

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

7.0/scripts/install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,8 @@ sed -e 's/\(max_nesting_level\).*/\1=1000/' \
2020
curl -sS -o /usr/local/bin/magerun https://files.magerun.net/n98-magerun2.phar
2121
chmod +x /usr/local/bin/magerun
2222

23+
# downgrade libxml2, magento unit tests fail on libxml2 2.9.12
24+
apt-get install libxml2=2.9.4+dfsg1-7+deb10u2 -y --allow-downgrades
25+
2326
# update permissions to allow rootless operation
2427
/usr/local/bin/permissions

7.1/scripts/install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,8 @@ sed -e 's/\(max_nesting_level\).*/\1=1000/' \
2020
curl -sS -o /usr/local/bin/magerun https://files.magerun.net/n98-magerun2.phar
2121
chmod +x /usr/local/bin/magerun
2222

23+
# downgrade libxml2, magento unit tests fail on libxml2 2.9.12
24+
apt-get install libxml2=2.9.4+dfsg1-7+deb10u2 -y --allow-downgrades
25+
2326
# update permissions to allow rootless operation
2427
/usr/local/bin/permissions

7.2/scripts/install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,8 @@ sed -e 's/\(max_nesting_level\).*/\1=1000/' \
2020
curl -sS -o /usr/local/bin/magerun https://files.magerun.net/n98-magerun2.phar
2121
chmod +x /usr/local/bin/magerun
2222

23+
# downgrade libxml2, magento unit tests fail on libxml2 2.9.12
24+
apt-get install libxml2=2.9.4+dfsg1-7+deb10u2 -y --allow-downgrades
25+
2326
# update permissions to allow rootless operation
2427
/usr/local/bin/permissions

7.3/scripts/install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,8 @@ sed -e 's/\(max_nesting_level\).*/\1=1000/' \
2020
curl -sS -o /usr/local/bin/magerun https://files.magerun.net/n98-magerun2.phar
2121
chmod +x /usr/local/bin/magerun
2222

23+
# downgrade libxml2, magento unit tests fail on libxml2 2.9.12
24+
apt-get install libxml2=2.9.4+dfsg1-7+deb10u2 -y --allow-downgrades
25+
2326
# update permissions to allow rootless operation
2427
/usr/local/bin/permissions

7.4/scripts/install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,8 @@ sed -e 's/\(max_nesting_level\).*/\1=1000/' \
2020
curl -sS -o /usr/local/bin/magerun https://files.magerun.net/n98-magerun2.phar
2121
chmod +x /usr/local/bin/magerun
2222

23+
# downgrade libxml2, magento unit tests fail on libxml2 2.9.12
24+
apt-get install libxml2=2.9.4+dfsg1-7+deb10u2 -y --allow-downgrades
25+
2326
# update permissions to allow rootless operation
2427
/usr/local/bin/permissions

0 commit comments

Comments
 (0)