diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-07-01 18:15:13 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-07-01 18:15:13 +0000 |
commit | 85c88fe6f1d622d10f5ac2d747412cb90f5cf150 (patch) | |
tree | 310fa21dd40d6c7ad918d0771b5f03c378d54cc6 /debian/tests/configuration-tracing | |
parent | Merging upstream version 1:11.4.2. (diff) | |
download | mariadb-85c88fe6f1d622d10f5ac2d747412cb90f5cf150.tar.xz mariadb-85c88fe6f1d622d10f5ac2d747412cb90f5cf150.zip |
Merging debian version 1:11.4.2-1.HEADprogress-linux
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
debian/control
debian/libmariadbd19.install
debian/libmariadbd19.lintian-overrides
debian/salsa-ci.yml
Diffstat (limited to 'debian/tests/configuration-tracing')
-rwxr-xr-x | debian/tests/configuration-tracing | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/debian/tests/configuration-tracing b/debian/tests/configuration-tracing index fc6dbbd1..5d686190 100755 --- a/debian/tests/configuration-tracing +++ b/debian/tests/configuration-tracing @@ -89,7 +89,13 @@ trace() { echo echo "If the change is intentional, update the debian/tests/traces to match" echo "the new values and document change to users in mariadb-server.NEWS" - exit 1 + + if [ -n "$ERRORS" ] + then + ERRORS="$ERRORS, $TRACE_NAME" + else + ERRORS="$TRACE_NAME" + fi fi } @@ -98,6 +104,8 @@ cd debian/tests/traces || exit 1 set -e +ERRORS="" + # Dump out what parameters mariadb would be called with by default trace /usr/bin/mariadb --print-defaults @@ -109,3 +117,10 @@ trace /usr/sbin/mariadbd --print-defaults # Dump out all help texts, server variables and their default values trace /usr/sbin/mariadbd --verbose --help + +# Emit non-zero exit code if there was errors +if [ -n "$ERRORS" ] +then + echo "Error: mismatch in $ERRORS" + exit 1 +fi |