We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
docker-ensure-installed.sh
1 parent 7a04048 commit 5371c38Copy full SHA for 5371c38
.test/config.sh
@@ -0,0 +1,7 @@
1
+#!/usr/bin/env bash
2
+
3
+# https://github.com/docker-library/official-images/blob/7629e0d0a836d0ec718a6e053753479227cf6825/test/config.sh
4
5
+imageTests[wordpress]+='
6
+ wordpress-ensure-installed
7
+'
.test/tests/wordpress-ensure-installed/run.sh
@@ -0,0 +1,8 @@
+set -Eeuo pipefail
+docker run --rm "$1" sh -euc '
+ [ ! -s wp-includes/version.php ] || exit 1
+ docker-ensure-installed.sh
+ [ -s wp-includes/version.php ] || exit 1
8
0 commit comments