summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Newhouse <robinnewhouse@gmail.com>2022-11-29 05:27:56 -0800
committerGitHub <noreply@github.com>2022-11-29 13:27:56 +0000
commit9a95838a96a5bbdc2c2064de968e4d686bd6d666 (patch)
tree69193c8e207a80675c9aab4757cf8a210a9b6e80
parent499ef7bf23f6fe32ed261df04c4a2ca067961e77 (diff)
downloadmariadb-git-9a95838a96a5bbdc2c2064de968e4d686bd6d666.tar.gz
[MDEV-30002] Skip bad_startup_options test when running as root (#2344)
Commit 32158be added a new test `bad_startup_options`. This test fails if run as root, which is common on many CI systems. This test should include `not_as_root.inc` so it is skipped, just like all other similar tests in MariaDB. All new code of the whole pull request, including one or several files that are either new files or modified ones, are contributed under the BSD-new license. I am contributing on behalf of my employer Amazon Web Services, Inc.
-rw-r--r--mysql-test/main/bad_startup_options.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/main/bad_startup_options.test b/mysql-test/main/bad_startup_options.test
index bd0b6283854..e758d786049 100644
--- a/mysql-test/main/bad_startup_options.test
+++ b/mysql-test/main/bad_startup_options.test
@@ -1,3 +1,6 @@
+# mysqld refuses to run as root normally.
+--source include/not_as_root.inc
+
--source include/not_embedded.inc
--source include/have_ssl_communication.inc