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

Commit

Permalink
Downgrade libxml2
Browse files Browse the repository at this point in the history
The libxml2 version 2.9.12 breaks 158 unit tests in Magento.
Downgrading solves this.
  • Loading branch information
stevenvdp committed Jul 1, 2021
1 parent ae0ae50 commit 81e7d6d
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 7.0/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,8 @@ sed -e 's/\(max_nesting_level\).*/\1=1000/' \
curl -sS -o /usr/local/bin/magerun https://files.magerun.net/n98-magerun2.phar
chmod +x /usr/local/bin/magerun

# downgrade libxml2, magento unit tests fail on libxml2 2.9.12
apt-get install libxml2=2.9.4+dfsg1-7+deb10u2 -y --allow-downgrades

# update permissions to allow rootless operation
/usr/local/bin/permissions
3 changes: 3 additions & 0 deletions 7.1/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,8 @@ sed -e 's/\(max_nesting_level\).*/\1=1000/' \
curl -sS -o /usr/local/bin/magerun https://files.magerun.net/n98-magerun2.phar
chmod +x /usr/local/bin/magerun

# downgrade libxml2, magento unit tests fail on libxml2 2.9.12
apt-get install libxml2=2.9.4+dfsg1-7+deb10u2 -y --allow-downgrades

# update permissions to allow rootless operation
/usr/local/bin/permissions
3 changes: 3 additions & 0 deletions 7.2/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,8 @@ sed -e 's/\(max_nesting_level\).*/\1=1000/' \
curl -sS -o /usr/local/bin/magerun https://files.magerun.net/n98-magerun2.phar
chmod +x /usr/local/bin/magerun

# downgrade libxml2, magento unit tests fail on libxml2 2.9.12
apt-get install libxml2=2.9.4+dfsg1-7+deb10u2 -y --allow-downgrades

# update permissions to allow rootless operation
/usr/local/bin/permissions
3 changes: 3 additions & 0 deletions 7.3/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,8 @@ sed -e 's/\(max_nesting_level\).*/\1=1000/' \
curl -sS -o /usr/local/bin/magerun https://files.magerun.net/n98-magerun2.phar
chmod +x /usr/local/bin/magerun

# downgrade libxml2, magento unit tests fail on libxml2 2.9.12
apt-get install libxml2=2.9.4+dfsg1-7+deb10u2 -y --allow-downgrades

# update permissions to allow rootless operation
/usr/local/bin/permissions
3 changes: 3 additions & 0 deletions 7.4/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,8 @@ sed -e 's/\(max_nesting_level\).*/\1=1000/' \
curl -sS -o /usr/local/bin/magerun https://files.magerun.net/n98-magerun2.phar
chmod +x /usr/local/bin/magerun

# downgrade libxml2, magento unit tests fail on libxml2 2.9.12
apt-get install libxml2=2.9.4+dfsg1-7+deb10u2 -y --allow-downgrades

# update permissions to allow rootless operation
/usr/local/bin/permissions

0 comments on commit 81e7d6d

Please sign in to comment.