Browse Source

Merge pull request #533 from md5/docker-php-ext-tests

Start adding tests for docker-php-ext-*
Tianon Gravi 10 years ago
parent
commit
b47aaea5ad
3 changed files with 9 additions and 0 deletions
  1. 3 0
      test/config.sh
  2. 5 0
      test/tests/php-ext-install/container.sh
  3. 1 0
      test/tests/php-ext-install/run.sh

+ 3 - 0
test/config.sh

@@ -34,6 +34,9 @@ declare -A imageTests=(
 	[mysql]='
 		mysql-basics
 	'
+	[php]='
+		php-ext-install
+	'
 # example onbuild
 #	[python:onbuild]='
 #		py-onbuild

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

@@ -0,0 +1,5 @@
+#!/bin/bash
+
+set -ueo pipefail
+
+docker-php-ext-install pdo_mysql 2>&1

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

@@ -0,0 +1 @@
+../run-bash-in-container.sh