aboutsummaryrefslogtreecommitdiff
path: root/test-scenarios/install_additional_php.sh
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-07-14 23:19:36 +0300
committerGitHub <noreply@github.com>2022-07-14 23:19:36 +0300
commit63e9392aa8d43f6f4f0454623b197efd9596709b (patch)
treee258f766394d51c9c16ce1b445ca3baecbee02a1 /test-scenarios/install_additional_php.sh
parent27e63203fa96543d287128b91fa02766fe687069 (diff)
PHP: Install additional versions (#61)v0.0.4v0.0.3
* PHP: install additional versions * fix bug * fix test scenario * adding quotes * change identifier * nit * tweak: to unblock git merge * nit
Diffstat (limited to 'test-scenarios/install_additional_php.sh')
-rw-r--r--test-scenarios/install_additional_php.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/test-scenarios/install_additional_php.sh b/test-scenarios/install_additional_php.sh
new file mode 100644
index 0000000..590187a
--- /dev/null
+++ b/test-scenarios/install_additional_php.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+set -e
+
+# Optional: Import test library
+source dev-container-features-test-lib
+
+check "php version 8.1.4 installed as default" php --version | grep 8.1.4
+check "php version 8.0.17 installed" ls -l /usr/local/php | grep 8.0.17
+check "php version 8.0.3 installed" ls -l /usr/local/php | grep 8.0.3
+
+# Report result
+reportResults