tree-wide: remove quiet mode from grep in test version checks

Remove the quiet mode flag (-q) from grep in version check commands
to ensure that their stdout output is visible.

While at it, switch the remaining regex matches (perl, sscep, awscli) to
fixed-string matching where appropriate, so that special characters in the
version string are matched literally.

For libzip, the zipcmp and zipmerge branches ran grep and then
unconditionally exited 0, so a version mismatch was never reported and
the version check override always passed.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This commit is contained in:
Josef Schlehofer committed 2026-08-10 10:01:46 +02:00
1 parent 6de3f9be5c
commit 308a5db965
11 files changed
+13 -13

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ assert driver is not None
EOF
# Verify the aws binary runs --version
aws --version 2>&1 | grep -q "aws-cli" || {
aws --version 2>&1 | grep -F "aws-cli" || {
echo "ERROR: 'aws --version' did not produce expected output"
exit 1
}