From 5af9eba5c1dc87572481b162bd0c4b7ab7063c3f Mon Sep 17 00:00:00 2001 From: Aaron Feledy Date: Mon, 28 Oct 2024 23:01:23 -0500 Subject: [PATCH] noteetotty --- examples/5.6/README.md | 8 ++++---- examples/7.0/README.md | 8 ++++---- examples/7.1/README.md | 8 ++++---- examples/7.2/README.md | 8 ++++---- examples/7.3/README.md | 6 +++--- examples/7.4/README.md | 6 +++--- examples/8.0/README.md | 8 ++++---- examples/8.1/README.md | 8 ++++---- examples/8.2/README.md | 8 ++++---- examples/8.3/README.md | 8 ++++---- examples/8.4/README.md | 8 ++++---- examples/composer/README.md | 16 ++++++++-------- examples/custom/README.md | 2 +- 13 files changed, 51 insertions(+), 51 deletions(-) diff --git a/examples/5.6/README.md b/examples/5.6/README.md index c8d2bf0..eb98c0b 100644 --- a/examples/5.6/README.md +++ b/examples/5.6/README.md @@ -45,7 +45,7 @@ lando exec defaults -- curl http://localhost | grep "memory_limit" | grep "1G" lando exec defaults -- env | grep "COMPOSER_MEMORY_LIMIT=-1" # Should install composer 2.2.x by default -lando exec defaults -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2.2." +lando exec defaults -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2.2." # Should have unlimited memory for php for CLI opts lando php -i | grep memory_limit | grep -e "-1" @@ -62,7 +62,7 @@ lando exec custom_nginx -- curl https://localhost | grep SERVER | grep PATH_TRAN lando exec custom -- php -v | grep "PHP 5.6" # Should install composer 2.2.x if composer_version is set to true -lando exec custom -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2.2." +lando exec custom -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2.2." # Should serve via nginx if specified lando exec custom_nginx -- curl http://localhost | grep "WEBDIR" @@ -77,7 +77,7 @@ lando exec custom -- php -m | grep "xdebug" lando exec cli -- curl http://localhost || echo $? | grep 7 # Should install the latest composer 1.x using the 1 flag -lando exec cli -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 1." +lando exec cli -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 1." # Should use custom php ini if specified lando exec custom -- php -i | grep memory_limit | grep 514 @@ -113,7 +113,7 @@ lando exec defaults -- curl http://localhost/path_info.php/a/b.php | grep SCRIPT lando info -s cliworker --deep | grep Cmd | grep sleep | grep infinity # Should install the latest composer 2.2.x by default. -lando exec cliworker -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2.2." +lando exec cliworker -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2.2." ``` ## Destroy tests diff --git a/examples/7.0/README.md b/examples/7.0/README.md index e44e5be..16b4a96 100644 --- a/examples/7.0/README.md +++ b/examples/7.0/README.md @@ -46,7 +46,7 @@ lando exec defaults -- curl http://localhost | grep "memory_limit" | grep "1G" lando exec defaults -- env | grep "COMPOSER_MEMORY_LIMIT=-1" # Should install composer 2.2.x by default -lando exec defaults -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2.2." +lando exec defaults -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2.2." # Should have unlimited memory for php for CLI opts lando php -i | grep memory_limit | grep -e "-1" @@ -63,7 +63,7 @@ lando exec custom_nginx -- curl https://localhost | grep SERVER | grep PATH_TRAN lando exec custom -- php -v | grep "PHP 7.0" # Should install composer 2.x if 2-latest is set -lando exec custom -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2." +lando exec custom -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2." # Should serve via nginx if specified lando exec custom_nginx -- curl http://localhost | grep "WEBDIR" @@ -78,7 +78,7 @@ lando exec custom -- php -m | grep "xdebug" lando exec cli -- curl http://localhost || echo $? | grep 7 # Should install the latest composer 1.x using the 1 flag -lando exec cli -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 1." +lando exec cli -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 1." # Should use custom php ini if specified lando exec custom -- php -i | grep memory_limit | grep 514 @@ -114,7 +114,7 @@ lando exec defaults -- curl http://localhost/path_info.php/a/b.php | grep SCRIPT lando info -s cliworker --deep | grep Cmd | grep sleep | grep infinity # Should install the latest composer 1.x when composer_version is false -lando exec cliworker -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 1." +lando exec cliworker -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 1." # Should have node14 installed in cli service lando node -v | grep v14. diff --git a/examples/7.1/README.md b/examples/7.1/README.md index afe2d9f..5729120 100644 --- a/examples/7.1/README.md +++ b/examples/7.1/README.md @@ -46,7 +46,7 @@ lando exec defaults -- curl http://localhost | grep "memory_limit" | grep "1G" lando exec defaults -- env | grep "COMPOSER_MEMORY_LIMIT=-1" # Should install composer 2.2.x by default -lando exec defaults -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2.2." +lando exec defaults -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2.2." # Should have unlimited memory for php for CLI opts lando php -i | grep memory_limit | grep -e "-1" @@ -63,7 +63,7 @@ lando exec custom_nginx -- curl https://localhost | grep SERVER | grep PATH_TRAN lando exec custom -- php -v | grep "PHP 7.1" # Should install composer 2.x if 2-latest is set -lando exec custom -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2." +lando exec custom -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2." # Should serve via nginx if specified lando exec custom_nginx -- curl http://localhost | grep "WEBDIR" @@ -78,7 +78,7 @@ lando exec custom -- php -m | grep "xdebug" lando exec cli -- curl http://localhost || echo $? | grep 7 # Should install the latest composer 1.x using the 1 flag -lando exec cli -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 1." +lando exec cli -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 1." # Should use custom php ini if specified lando exec custom -- php -i | grep memory_limit | grep 514 @@ -114,7 +114,7 @@ lando exec defaults -- curl http://localhost/path_info.php/a/b.php | grep SCRIPT lando info -s cliworker --deep | grep Cmd | grep sleep | grep infinity # Should install the latest composer 1.x if composer_version is set to false -lando exec cliworker -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 1." +lando exec cliworker -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 1." # Should have node14 installed in cli service lando node -v | grep v14. diff --git a/examples/7.2/README.md b/examples/7.2/README.md index 0b21bfb..67910df 100644 --- a/examples/7.2/README.md +++ b/examples/7.2/README.md @@ -46,7 +46,7 @@ lando exec defaults -- curl http://localhost | grep "memory_limit" | grep "1G" lando exec defaults -- env | grep "COMPOSER_MEMORY_LIMIT=-1" # Should install composer 2.2.x by default -lando exec defaults -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2.2" +lando exec defaults -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2.2" # Should have unlimited memory for php for CLI opts lando php -i | grep memory_limit | grep -e "-1" @@ -63,7 +63,7 @@ lando exec custom_nginx -- curl https://localhost | grep SERVER | grep PATH_TRAN lando exec custom -- php -v | grep "PHP 7.2" # Should install composer 2.x if 2-latest is set -lando exec custom -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2." +lando exec custom -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2." # Should serve via nginx if specified lando exec custom_nginx -- curl http://localhost | grep "WEBDIR" @@ -78,7 +78,7 @@ lando exec custom -- php -m | grep "xdebug" lando exec cli -- curl http://localhost || echo $? | grep 7 # Should install the latest composer 1.x using the 1 flag -lando exec cli -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 1." +lando exec cli -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 1." # Should use custom php ini if specified lando exec custom -- php -i | grep memory_limit | grep 514 @@ -114,7 +114,7 @@ lando exec defaults -- curl http://localhost/path_info.php/a/b.php | grep SCRIPT lando info -s cliworker --deep | grep Cmd | grep sleep | grep infinity # Should install the latest composer 1.x if composer_version is set to false -lando exec cliworker -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 1." +lando exec cliworker -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 1." # Should have node14 installed in cli service lando node -v | grep v14. diff --git a/examples/7.3/README.md b/examples/7.3/README.md index 85b3b43..b8fd81d 100644 --- a/examples/7.3/README.md +++ b/examples/7.3/README.md @@ -46,7 +46,7 @@ lando exec defaults -- curl http://localhost | grep "memory_limit" | grep "1G" lando exec defaults -- env | grep "COMPOSER_MEMORY_LIMIT=-1" # Should install composer 2.x by default -lando exec defaults -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2." +lando exec defaults -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2." # Should have unlimited memory for php for CLI opts lando php -i | grep memory_limit | grep -e "-1" @@ -63,7 +63,7 @@ lando exec custom_nginx -- curl https://localhost | grep SERVER | grep PATH_TRAN lando exec custom -- php -v | grep "PHP 7.3" # Should install composer 2.x if 2-latest is set -lando exec custom -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2." +lando exec custom -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2." # Should serve via nginx if specified lando exec custom_nginx -- curl http://localhost | grep "WEBDIR" @@ -111,7 +111,7 @@ lando exec defaults -- curl http://localhost/path_info.php/a/b.php | grep SCRIPT lando info -s cliworker --deep | grep Cmd | grep sleep | grep infinity # Should install the composer 2.x using the false flag -lando exec cliworker -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2." +lando exec cliworker -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2." # Should have node14 installed in cli service lando node -v | grep v14. diff --git a/examples/7.4/README.md b/examples/7.4/README.md index b973cb7..0ead3ac 100644 --- a/examples/7.4/README.md +++ b/examples/7.4/README.md @@ -46,7 +46,7 @@ lando exec defaults -- curl http://localhost | grep "memory_limit" | grep "1G" lando exec defaults -- env | grep "COMPOSER_MEMORY_LIMIT=-1" # Should install composer 2.x by default -lando exec defaults -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2." +lando exec defaults -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2." # Should have unlimited memory for php for CLI opts lando php -i | grep memory_limit | grep -e "-1" @@ -63,7 +63,7 @@ lando exec custom_nginx -- curl https://localhost | grep SERVER | grep PATH_TRAN lando exec custom -- php -v | grep "PHP 7.4" # Should install composer 2.x if 2-latest is set -lando exec custom -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2." +lando exec custom -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2." # Should serve via nginx if specified lando exec custom_nginx -- curl http://localhost | grep "WEBDIR" @@ -111,7 +111,7 @@ lando exec defaults -- curl http://localhost/path_info.php/a/b.php | grep SCRIPT lando info -s cliworker --deep | grep Cmd | grep sleep | grep infinity # Should install the latest composer 2.x by default. -lando exec cliworker -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2." +lando exec cliworker -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2." # Should have node14 installed in cli service lando node -v | grep v14. diff --git a/examples/8.0/README.md b/examples/8.0/README.md index b0cf6cb..b2ddbdf 100644 --- a/examples/8.0/README.md +++ b/examples/8.0/README.md @@ -43,7 +43,7 @@ lando exec defaults -- curl http://localhost | grep "memory_limit" | grep "1G" lando exec defaults -- env | grep "COMPOSER_MEMORY_LIMIT=-1" # Should install composer 2.x by default -lando exec defaults -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2." +lando exec defaults -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2." # Should have unlimited memory for php for CLI opts lando php -i | grep memory_limit | grep -e "-1" @@ -60,7 +60,7 @@ lando exec custom_nginx -- curl https://localhost | grep SERVER | grep PATH_TRAN lando exec custom -- php -v | grep "PHP 8.0" # Should install composer 2.1.12 if version number is set -lando exec custom -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2.1.12" +lando exec custom -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2.1.12" # Should serve via nginx if specified lando exec custom_nginx -- curl http://localhost | grep "WEBDIR" @@ -75,7 +75,7 @@ lando exec custom -- php -m | grep "xdebug" lando exec cli -- curl http://localhost || echo $? | grep 7 # Should install the composer 2.x using the false flag -lando exec cli -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2." +lando exec cli -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2." # Should use custom php ini if specified lando exec custom -- php -i | grep memory_limit | grep 514 @@ -111,7 +111,7 @@ lando exec defaults -- curl http://localhost/path_info.php/a/b.php | grep SCRIPT lando info -s cliworker --deep | grep Cmd | grep sleep | grep infinity # Should install the latest composer 2.x by default. -lando exec cliworker -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2." +lando exec cliworker -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2." # Should have node14 installed in cli service lando node -v | grep v14. diff --git a/examples/8.1/README.md b/examples/8.1/README.md index f635492..f22bb4f 100644 --- a/examples/8.1/README.md +++ b/examples/8.1/README.md @@ -43,7 +43,7 @@ lando exec defaults -- curl http://localhost | grep "memory_limit" | grep "1G" lando exec defaults -- env | grep "COMPOSER_MEMORY_LIMIT=-1" # Should install composer 2.x by default -lando exec defaults -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2." +lando exec defaults -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2." # Should have unlimited memory for php for CLI opts lando php -i | grep memory_limit | grep -e "-1" @@ -60,7 +60,7 @@ lando exec custom_nginx -- curl https://localhost | grep SERVER | grep PATH_TRAN lando exec custom -- php -v | grep "PHP 8.1" # Should install composer 2.1.12 if version number is set -lando exec custom -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2.1.12" +lando exec custom -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2.1.12" # Should serve via nginx if specified lando exec custom_nginx -- curl http://localhost | grep "WEBDIR" @@ -75,7 +75,7 @@ lando exec custom -- php -m | grep "xdebug" lando exec cli -- curl http://localhost || echo $? | grep 7 # Should install the composer 2.x using the false flag -lando exec cli -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2." +lando exec cli -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2." # Should use custom php ini if specified lando exec custom -- php -i | grep memory_limit | grep 514 @@ -111,7 +111,7 @@ lando exec defaults -- curl http://localhost/path_info.php/a/b.php | grep SCRIPT lando info -s cliworker --deep | grep Cmd | grep sleep | grep infinity # Should install the latest composer 2.x by default. -lando exec cliworker -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2." +lando exec cliworker -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2." # Should have node14 installed in cli service lando node -v | grep v14. diff --git a/examples/8.2/README.md b/examples/8.2/README.md index 6eb01ac..ed5e6de 100644 --- a/examples/8.2/README.md +++ b/examples/8.2/README.md @@ -43,7 +43,7 @@ lando exec defaults -- curl http://localhost | grep "memory_limit" | grep "1G" lando exec defaults -- env | grep "COMPOSER_MEMORY_LIMIT=-1" # Should install composer 2.x by default -lando exec defaults -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2." +lando exec defaults -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2." # Should have unlimited memory for php for CLI opts lando php -i | grep memory_limit | grep -e "-1" @@ -60,7 +60,7 @@ lando exec custom_nginx -- curl https://localhost | grep SERVER | grep PATH_TRAN lando exec custom -- php -v | grep "PHP 8.2" # Should install composer 2.2.18 if version number is set -lando exec custom -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2.2.18" +lando exec custom -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2.2.18" # Should serve via nginx if specified lando exec custom_nginx -- curl http://localhost | grep "WEBDIR" @@ -75,7 +75,7 @@ lando exec custom -- php -m | grep "xdebug" lando exec cli -- curl http://localhost || echo $? | grep 7 # Should install the composer 2.x using the false flag -lando exec cli -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2." +lando exec cli -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2." # Should use custom php ini if specified lando exec custom -- php -i | grep memory_limit | grep 514 @@ -111,7 +111,7 @@ lando exec defaults -- curl http://localhost/path_info.php/a/b.php | grep SCRIPT lando info -s cliworker --deep | grep Cmd | grep sleep | grep infinity # Should install the latest composer 2.x by default. -lando exec cliworker -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2." +lando exec cliworker -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2." # Should have node14 installed in cli service lando node -v | grep v14. diff --git a/examples/8.3/README.md b/examples/8.3/README.md index 548e900..1627286 100644 --- a/examples/8.3/README.md +++ b/examples/8.3/README.md @@ -43,7 +43,7 @@ lando exec defaults -- curl http://localhost | grep "memory_limit" | grep "1G" lando exec defaults -- env | grep "COMPOSER_MEMORY_LIMIT=-1" # Should install composer 2.x by default -lando exec defaults -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2." +lando exec defaults -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2." # Should have unlimited memory for php for CLI opts lando php -i | grep memory_limit | grep -e "-1" @@ -60,7 +60,7 @@ lando exec custom_nginx -- curl https://localhost | grep SERVER | grep PATH_TRAN lando exec custom -- php -v | grep "PHP 8.3" # Should install composer 2.5.6 if version number is set -lando exec custom -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2.5.6" +lando exec custom -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2.5.6" # Should serve via nginx if specified lando exec custom_nginx -- curl http://localhost | grep "WEBDIR" @@ -75,7 +75,7 @@ lando exec custom -- php -m | grep "xdebug" lando exec cli -- curl http://localhost || echo $? | grep 7 # Should install the composer 2.x using the false flag -lando exec cli -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2." +lando exec cli -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2." # Should use custom php ini if specified lando exec custom -- php -i | grep memory_limit | grep 514 @@ -111,7 +111,7 @@ lando exec defaults -- curl http://localhost/path_info.php/a/b.php | grep SCRIPT lando info -s cliworker --deep | grep Cmd | grep sleep | grep infinity # Should install the latest composer 2.x by default. -lando exec cliworker -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2." +lando exec cliworker -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2." # Should have node14 installed in cli service lando node -v | grep v14. diff --git a/examples/8.4/README.md b/examples/8.4/README.md index 28ccfcb..cec1caa 100644 --- a/examples/8.4/README.md +++ b/examples/8.4/README.md @@ -43,7 +43,7 @@ lando exec defaults -- curl http://localhost | grep "memory_limit" | grep "1G" lando exec defaults -- env | grep "COMPOSER_MEMORY_LIMIT=-1" # Should install composer 2.x by default -lando exec defaults -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2." +lando exec defaults -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2." # Should have unlimited memory for php for CLI opts lando php -i | grep memory_limit | grep -e "-1" @@ -60,7 +60,7 @@ lando exec custom_nginx -- curl https://localhost | grep SERVER | grep PATH_TRAN lando exec custom -- php -v | grep "PHP 8.4" # Should install composer 2.5.6 if version number is set -lando exec custom -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2.5.6" +lando exec custom -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2.5.6" # Should serve via nginx if specified lando exec custom_nginx -- curl http://localhost | grep "WEBDIR" @@ -72,7 +72,7 @@ lando exec custom_nginx -- curl https://localhost | grep "WEBDIR" lando exec cli -- curl http://localhost || echo $? | grep 7 # Should install the composer 2.x using the false flag -lando exec cli -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2." +lando exec cli -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2." # Should use custom php ini if specified lando exec custom -- php -i | grep memory_limit | grep 514 @@ -108,7 +108,7 @@ lando exec defaults -- curl http://localhost/path_info.php/a/b.php | grep SCRIPT lando info -s cliworker --deep | grep Cmd | grep sleep | grep infinity # Should install the latest composer 2.x by default. -lando exec cliworker -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2." +lando exec cliworker -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2." # Should have node 18 installed in cli service lando node -v | grep v18. diff --git a/examples/composer/README.md b/examples/composer/README.md index ddbbc21..e8bc94c 100644 --- a/examples/composer/README.md +++ b/examples/composer/README.md @@ -23,28 +23,28 @@ Run the following commands to validate things are rolling as they should. ```bash # PHP 7.2 Should install composer 2.2.x by default -lando exec php72 -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2.2." +lando exec php72 -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2.2." # PHP 8.3 Should install composer 2.8.x by default -lando exec php83 -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2.8." +lando exec php83 -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2.8." # Should install composer 1.x if composer_version set to 1 -lando exec composer1 -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 1." +lando exec composer1 -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 1." # Should install composer 1.x if composer_version set to 1-latest -lando exec composer1latest -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 1." +lando exec composer1latest -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 1." # Should install composer 1.10.21 if composer_version set to specific version -lando exec composer1ver -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 1.10.21" +lando exec composer1ver -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 1.10.21" # Should install composer 2.x if composer_version set to 2 -lando exec composer2 -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2." +lando exec composer2 -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2." # Should install composer 2.x if composer_version set to 2-latest -lando exec composer2latest -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2." +lando exec composer2latest -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2." # Should install composer 2.1.10 if composer_version set to specific version -lando exec composer2ver -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2.1.10" +lando exec composer2ver -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2.1.10" # Should install compose global dependencies if specified by user and have them available in PATH lando exec dependencies -- phpunit --version diff --git a/examples/custom/README.md b/examples/custom/README.md index 18b949f..1bf8fc5 100644 --- a/examples/custom/README.md +++ b/examples/custom/README.md @@ -32,7 +32,7 @@ lando exec withnode -- php -v | grep "PHP 7.4" lando exec custom81 -- php -v | grep "PHP 8.1" # Should install composer 2.1.14 if version number is set -lando exec custom81 -- composer --version --no-ansi | tee /dev/tty | grep -q "Composer version 2.1.14" +lando exec custom81 -- composer --version --no-ansi | tee >(cat 1>&2) | grep -q "Composer version 2.1.14" # Should use nginx version 1.17.x as the webserver version lando exec custom81_nginx -- nginx -v 2>&1 | grep 1.17