mirror of
https://github.com/openwrt/packages.git
synced 2026-10-12 05:57:04 +04:00
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:
1 parent
6de3f9be5c
commit
308a5db965
11 files changed
+13
-13
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
case "$1" in
|
||||
rsyslog)
|
||||
rsyslogd -v 2>&1 | grep -qF "$2" || {
|
||||
rsyslogd -v 2>&1 | grep -F "$2" || {
|
||||
echo "FAIL: rsyslogd -v did not print expected version '$2'"
|
||||
exit 1
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user