diff --git a/debian/mariadb-client.lintian-overrides b/debian/mariadb-client.lintian-overrides index 51e096cf33c..26b60c6e537 100644 --- a/debian/mariadb-client.lintian-overrides +++ b/debian/mariadb-client.lintian-overrides @@ -1,2 +1,5 @@ # Mainly for BSD family to make sure that perl is found incorrect-path-for-interpreter /usr/bin/env perl != /usr/bin/perl [usr/bin/mytop] + +# Used to determine which shell we have. False-positive situation +bash-term-in-posix-shell '`echo "testing\c"' [usr/bin/mariadb-secure-installation:191] diff --git a/debian/mariadb-server-core.lintian-overrides b/debian/mariadb-server-core.lintian-overrides new file mode 100644 index 00000000000..e3b85283a33 --- /dev/null +++ b/debian/mariadb-server-core.lintian-overrides @@ -0,0 +1,2 @@ +# Bash word source used in comment +bash-term-in-posix-shell 'source tree,' [usr/bin/mariadb-install-db:93] diff --git a/debian/mariadb-server.lintian-overrides b/debian/mariadb-server.lintian-overrides new file mode 100644 index 00000000000..e0c5b0b5ed1 --- /dev/null +++ b/debian/mariadb-server.lintian-overrides @@ -0,0 +1,8 @@ +# Used to check if running in Bash +bash-term-in-posix-shell '${BASH_VERSION' [usr/share/mysql/wsrep_notify:86] +bash-term-in-posix-shell '[ "$url" ==' [usr/bin/mariadbd-safe:216] +# In comment so false-positive +bash-term-in-posix-shell 'let' [usr/bin/mariadbd-safe:41] +# Supported in Zsh and Bash (also Dash) +bash-term-in-posix-shell 'ulimit' [usr/bin/mariadbd-safe:712] +bash-term-in-posix-shell 'ulimit' [usr/bin/mariadbd-safe:832] diff --git a/debian/mariadb-test-data.lintian-overrides b/debian/mariadb-test-data.lintian-overrides index a9d9754c72a..2b55057cc4e 100644 --- a/debian/mariadb-test-data.lintian-overrides +++ b/debian/mariadb-test-data.lintian-overrides @@ -8,6 +8,9 @@ incorrect-path-for-interpreter /usr/bin/env perl != /usr/bin/perl [usr/share/mys incorrect-path-for-interpreter /usr/bin/env perl != /usr/bin/perl [usr/share/mysql/mysql-test/suite/funcs_1/lib/DataGen_modify.pl] incorrect-path-for-interpreter /usr/bin/env perl != /usr/bin/perl [usr/share/mysql/mysql-test/suite/funcs_2/lib/gen_charset_utf8.pl] incorrect-path-for-interpreter /usr/bin/env perl != /usr/bin/perl [usr/share/mysql/mysql-test/suite/rpl/extension/checksum.pl] +# This is used to check if we are running under Bash +bash-term-in-posix-shell '${BASH_VERSION' [usr/share/mysql/mysql-test/std_data/wsrep_notify.sh:87] +bash-term-in-posix-shell '${BASH_VERSION' [usr/share/mysql/mysql-test/std_data/wsrep_notify_ssl.sh:87] # These files are result files and they are supposed to be # Natial encoded (ISO/IEC 8859-1) not UTF-8 national-encoding [usr/share/mysql/mysql-test/include/ctype_E05C.inc]