mariadb-test - Man Page

Name

mariadb-test — program to run test cases (mariadb-test is now a symlink to mariadb-test)
mariadb-test-embedded — program to run embedded test cases

Synopsis

mariadb-test [options] [db_name]

mariadb-test-embedded [options] [db_name]

Description

The mariadb-test program runs a test case against a MariaDB server and optionally compares the output with a result file. This program reads input written in a special test language. Typically, you invoke mariadb-test via mariadb-test-run.pl rather than invoking it directly.

mariadb-test-embedded is similar but is built with support for the libmariadbd embedded server.

Features of mariadb-test:

By default, mariadb-test reads the test case on the standard input. To run mariadb-test this way, you normally invoke it like this:

shell> mariadb-test [options] [db_name] < test_file

You can also name the test case file with a --test-file=file_name option.

The exit value from mariadb-test is 0 for success, 1 for failure, and 62 if it skips the test case (for example, if after checking some preconditions it decides not to run the test).

mariadb-test supports the following options:

See Also

For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/

Author

MariaDB Foundation (http://www.mariadb.org/).

Info

5 March 2025 MariaDB 11.8 MariaDB Database System