From 85c88fe6f1d622d10f5ac2d747412cb90f5cf150 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 1 Jul 2024 20:15:13 +0200 Subject: Merging debian version 1:11.4.2-1. Signed-off-by: Daniel Baumann debian/control debian/libmariadbd19.install debian/libmariadbd19.lintian-overrides debian/salsa-ci.yml --- debian/tests/configuration-tracing | 17 +- debian/tests/smoke | 10 +- debian/tests/traces/mariadb-verbose-help.expected | 15 +- .../tests/traces/mariadbd-print-defaults.expected | 2 +- debian/tests/traces/mariadbd-verbose-help.expected | 279 ++++++++++++--------- debian/tests/upstream | 6 +- 6 files changed, 196 insertions(+), 133 deletions(-) (limited to 'debian/tests') 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 diff --git a/debian/tests/smoke b/debian/tests/smoke index 5c4facbb..06227bdf 100644 --- a/debian/tests/smoke +++ b/debian/tests/smoke @@ -45,29 +45,29 @@ else systemctl restart mariadb fi -mysql <&2 exit 1 fi -mysql --user=testuser --password=testpassword testdatabase <> "$MTR_SKIP_TEST_LIST" + cat "/usr/share/mariadb/mariadb-test/unstable-tests.$ARCH" >> "$MTR_SKIP_TEST_LIST" fi # Skip tests that cannot run properly on ci.debian.net / autopkgtests.ubuntu.com @@ -49,7 +49,7 @@ fi # failed autopkgtest runs cp -v "$MTR_SKIP_TEST_LIST" "$AUTOPKGTEST_ARTIFACTS" -cd /usr/share/mysql/mysql-test +cd /usr/share/mariadb/mariadb-test echo "starting mysql-test-tun.pl..." export MTR_PRINT_CORE=detailed # The $MTR_ARGUMENTS_APPEND is intentionally used to pass in extra arguments -- cgit v1.2.3