Browse Source

Merge pull request #951 from infosiftr/test-php-ext-loaded

Update "php-ext-install" test to make sure the extension is loaded properly too, not just installed
yosifkit 10 năm trước cách đây
mục cha
commit
81876cd2f7
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      test/tests/php-ext-install/container.sh

+ 1 - 0
test/tests/php-ext-install/container.sh

@@ -3,3 +3,4 @@
 set -ueo pipefail
 
 docker-php-ext-install pdo_mysql 2>&1
+php -r 'exit(extension_loaded("pdo_mysql") ? 0 : 1);'