From c7eb389bb96ad56112e1e9d1fb140b7d9bdced2b Mon Sep 17 00:00:00 2001 From: Zach Borboa Date: Fri, 19 Apr 2019 22:31:44 -0700 Subject: [PATCH] Add debugging --- tests/dockerfiles/php53/1_build.sh | 1 + tests/dockerfiles/php53/3_test.sh | 1 + tests/dockerfiles/php53/4_stop.sh | 2 +- tests/dockerfiles/php54/1_build.sh | 1 + tests/dockerfiles/php54/3_test.sh | 1 + tests/dockerfiles/php54/4_stop.sh | 2 +- tests/dockerfiles/php55/1_build.sh | 1 + tests/dockerfiles/php55/3_test.sh | 1 + tests/dockerfiles/php55/4_stop.sh | 2 +- tests/dockerfiles/php56/1_build.sh | 1 + tests/dockerfiles/php56/3_test.sh | 1 + tests/dockerfiles/php56/4_stop.sh | 2 +- tests/dockerfiles/php70/1_build.sh | 1 + tests/dockerfiles/php70/3_test.sh | 1 + tests/dockerfiles/php70/4_stop.sh | 2 +- tests/dockerfiles/php71/1_build.sh | 1 + tests/dockerfiles/php71/3_test.sh | 1 + tests/dockerfiles/php71/4_stop.sh | 2 +- tests/dockerfiles/php72/1_build.sh | 1 + tests/dockerfiles/php72/3_test.sh | 1 + tests/dockerfiles/php72/4_stop.sh | 2 +- tests/dockerfiles/php73/1_build.sh | 1 + tests/dockerfiles/php73/3_test.sh | 1 + tests/dockerfiles/php73/4_stop.sh | 2 +- 24 files changed, 24 insertions(+), 8 deletions(-) diff --git a/tests/dockerfiles/php53/1_build.sh b/tests/dockerfiles/php53/1_build.sh index 3268be6..5818f73 100755 --- a/tests/dockerfiles/php53/1_build.sh +++ b/tests/dockerfiles/php53/1_build.sh @@ -1,2 +1,3 @@ # Build an image. +set -x docker build --tag="php-curl-class/php53" . diff --git a/tests/dockerfiles/php53/3_test.sh b/tests/dockerfiles/php53/3_test.sh index 1f55e8c..59d4b69 100755 --- a/tests/dockerfiles/php53/3_test.sh +++ b/tests/dockerfiles/php53/3_test.sh @@ -14,4 +14,5 @@ bash "tests/before_script.sh" && bash "tests/script.sh" END ) +set -x docker exec --interactive --tty "php53" sh -c "${command}" diff --git a/tests/dockerfiles/php53/4_stop.sh b/tests/dockerfiles/php53/4_stop.sh index ed06d1b..1c0cbfb 100755 --- a/tests/dockerfiles/php53/4_stop.sh +++ b/tests/dockerfiles/php53/4_stop.sh @@ -1,3 +1,3 @@ # Stop container. - +set -x docker stop "php53" diff --git a/tests/dockerfiles/php54/1_build.sh b/tests/dockerfiles/php54/1_build.sh index 9dd2093..ba5a98d 100755 --- a/tests/dockerfiles/php54/1_build.sh +++ b/tests/dockerfiles/php54/1_build.sh @@ -1,2 +1,3 @@ # Build an image. +set -x docker build --tag="php-curl-class/php54" . diff --git a/tests/dockerfiles/php54/3_test.sh b/tests/dockerfiles/php54/3_test.sh index 84684ce..58a5207 100755 --- a/tests/dockerfiles/php54/3_test.sh +++ b/tests/dockerfiles/php54/3_test.sh @@ -14,4 +14,5 @@ bash "tests/before_script.sh" && bash "tests/script.sh" END ) +set -x docker exec --interactive --tty "php54" sh -c "${command}" diff --git a/tests/dockerfiles/php54/4_stop.sh b/tests/dockerfiles/php54/4_stop.sh index fde5c02..0bb3d47 100755 --- a/tests/dockerfiles/php54/4_stop.sh +++ b/tests/dockerfiles/php54/4_stop.sh @@ -1,3 +1,3 @@ # Stop container. - +set -x docker stop "php54" diff --git a/tests/dockerfiles/php55/1_build.sh b/tests/dockerfiles/php55/1_build.sh index 4af69bb..0921109 100755 --- a/tests/dockerfiles/php55/1_build.sh +++ b/tests/dockerfiles/php55/1_build.sh @@ -1,2 +1,3 @@ # Build an image. +set -x docker build --tag="php-curl-class/php55" . diff --git a/tests/dockerfiles/php55/3_test.sh b/tests/dockerfiles/php55/3_test.sh index 38f54c9..40b880d 100755 --- a/tests/dockerfiles/php55/3_test.sh +++ b/tests/dockerfiles/php55/3_test.sh @@ -14,4 +14,5 @@ bash "tests/before_script.sh" && bash "tests/script.sh" END ) +set -x docker exec --interactive --tty "php55" sh -c "${command}" diff --git a/tests/dockerfiles/php55/4_stop.sh b/tests/dockerfiles/php55/4_stop.sh index ed74587..7be6aa4 100755 --- a/tests/dockerfiles/php55/4_stop.sh +++ b/tests/dockerfiles/php55/4_stop.sh @@ -1,3 +1,3 @@ # Stop container. - +set -x docker stop "php55" diff --git a/tests/dockerfiles/php56/1_build.sh b/tests/dockerfiles/php56/1_build.sh index 2135baa..24a6913 100755 --- a/tests/dockerfiles/php56/1_build.sh +++ b/tests/dockerfiles/php56/1_build.sh @@ -1,2 +1,3 @@ # Build an image. +set -x docker build --tag="php-curl-class/php56" . diff --git a/tests/dockerfiles/php56/3_test.sh b/tests/dockerfiles/php56/3_test.sh index ea0322b..20b1bbb 100755 --- a/tests/dockerfiles/php56/3_test.sh +++ b/tests/dockerfiles/php56/3_test.sh @@ -14,4 +14,5 @@ bash "tests/before_script.sh" && bash "tests/script.sh" END ) +set -x docker exec --interactive --tty "php56" sh -c "${command}" diff --git a/tests/dockerfiles/php56/4_stop.sh b/tests/dockerfiles/php56/4_stop.sh index 4696c12..7c025be 100755 --- a/tests/dockerfiles/php56/4_stop.sh +++ b/tests/dockerfiles/php56/4_stop.sh @@ -1,3 +1,3 @@ # Stop container. - +set -x docker stop "php56" diff --git a/tests/dockerfiles/php70/1_build.sh b/tests/dockerfiles/php70/1_build.sh index 538dde6..54f767b 100755 --- a/tests/dockerfiles/php70/1_build.sh +++ b/tests/dockerfiles/php70/1_build.sh @@ -1,2 +1,3 @@ # Build an image. +set -x docker build --tag="php-curl-class/php70" . diff --git a/tests/dockerfiles/php70/3_test.sh b/tests/dockerfiles/php70/3_test.sh index b2d7759..680c689 100755 --- a/tests/dockerfiles/php70/3_test.sh +++ b/tests/dockerfiles/php70/3_test.sh @@ -14,4 +14,5 @@ bash "tests/before_script.sh" && bash "tests/script.sh" END ) +set -x docker exec --interactive --tty "php70" sh -c "${command}" diff --git a/tests/dockerfiles/php70/4_stop.sh b/tests/dockerfiles/php70/4_stop.sh index 8c3fc0d..31563f4 100755 --- a/tests/dockerfiles/php70/4_stop.sh +++ b/tests/dockerfiles/php70/4_stop.sh @@ -1,3 +1,3 @@ # Stop container. - +set -x docker stop "php70" diff --git a/tests/dockerfiles/php71/1_build.sh b/tests/dockerfiles/php71/1_build.sh index 73008b0..f61a4bc 100755 --- a/tests/dockerfiles/php71/1_build.sh +++ b/tests/dockerfiles/php71/1_build.sh @@ -1,2 +1,3 @@ # Build an image. +set -x docker build --tag="php-curl-class/php71" . diff --git a/tests/dockerfiles/php71/3_test.sh b/tests/dockerfiles/php71/3_test.sh index cc01473..8e9a8d5 100755 --- a/tests/dockerfiles/php71/3_test.sh +++ b/tests/dockerfiles/php71/3_test.sh @@ -14,4 +14,5 @@ bash "tests/before_script.sh" && bash "tests/script.sh" END ) +set -x docker exec --interactive --tty "php71" sh -c "${command}" diff --git a/tests/dockerfiles/php71/4_stop.sh b/tests/dockerfiles/php71/4_stop.sh index 1214852..8a16db2 100755 --- a/tests/dockerfiles/php71/4_stop.sh +++ b/tests/dockerfiles/php71/4_stop.sh @@ -1,3 +1,3 @@ # Stop container. - +set -x docker stop "php71" diff --git a/tests/dockerfiles/php72/1_build.sh b/tests/dockerfiles/php72/1_build.sh index 5d52a06..408cfad 100755 --- a/tests/dockerfiles/php72/1_build.sh +++ b/tests/dockerfiles/php72/1_build.sh @@ -1,2 +1,3 @@ # Build an image. +set -x docker build --tag="php-curl-class/php72" . diff --git a/tests/dockerfiles/php72/3_test.sh b/tests/dockerfiles/php72/3_test.sh index df3d957..f886245 100755 --- a/tests/dockerfiles/php72/3_test.sh +++ b/tests/dockerfiles/php72/3_test.sh @@ -14,4 +14,5 @@ bash "tests/before_script.sh" && bash "tests/script.sh" END ) +set -x docker exec --interactive --tty "php72" sh -c "${command}" diff --git a/tests/dockerfiles/php72/4_stop.sh b/tests/dockerfiles/php72/4_stop.sh index 0d45de2..da8f31a 100755 --- a/tests/dockerfiles/php72/4_stop.sh +++ b/tests/dockerfiles/php72/4_stop.sh @@ -1,3 +1,3 @@ # Stop container. - +set -x docker stop "php72" diff --git a/tests/dockerfiles/php73/1_build.sh b/tests/dockerfiles/php73/1_build.sh index 11f41bb..4cb42d3 100755 --- a/tests/dockerfiles/php73/1_build.sh +++ b/tests/dockerfiles/php73/1_build.sh @@ -1,2 +1,3 @@ # Build an image. +set -x docker build --tag="php-curl-class/php73" . diff --git a/tests/dockerfiles/php73/3_test.sh b/tests/dockerfiles/php73/3_test.sh index 7bcfbb6..8f827bf 100755 --- a/tests/dockerfiles/php73/3_test.sh +++ b/tests/dockerfiles/php73/3_test.sh @@ -14,4 +14,5 @@ bash "tests/before_script.sh" && bash "tests/script.sh" END ) +set -x docker exec --interactive --tty "php73" sh -c "${command}" diff --git a/tests/dockerfiles/php73/4_stop.sh b/tests/dockerfiles/php73/4_stop.sh index 2c0a9e9..e119c63 100755 --- a/tests/dockerfiles/php73/4_stop.sh +++ b/tests/dockerfiles/php73/4_stop.sh @@ -1,3 +1,3 @@ # Stop container. - +set -x docker stop "php73"