소스 검색

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 년 전
부모
커밋
81876cd2f7
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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);'