From cd87db5a301bb0557ebe8147d90992a5d56efc5b Mon Sep 17 00:00:00 2001 From: Alexey Kopytov Date: Wed, 21 Sep 2016 17:32:22 -0700 Subject: [PATCH] Some typo fixes in the docs. --- tests/README.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/README.md b/tests/README.md index 5c195bd..760b38e 100644 --- a/tests/README.md +++ b/tests/README.md @@ -14,23 +14,23 @@ curl https://bootstrap.pypa.io/get-pip.py | python ``` To run the sysbench test suite, invoke the `test_run.sh` script in the -`tests` directory like this: +`tests` directory as follows: ``` {.example} ./test_run.sh [test_name]... ``` -Each `test_name` argument is name of a test case file. Functional and +Each `test_name` argument is a name of a test case file. Functional and regression tests are located in the `t` subdirectory in files with the `.t` suffix. If no tests are named on the `test_run.sh` command line, it will execute all files with the `.t` suffix in the `t` subdirectory. -Some tests require external servers (MySQL, PostgreSQL, etc.). One -should environment variables to specify connection related arguments -that sysbench can use to connect to such external server(s). The -currently recognized variables are: +Some tests require external servers (MySQL, PostgreSQL, etc). One should +use environment variables to specify connection related arguments that +sysbench can use to connect to such external server(s). The currently +recognized variables are: - `SBTEST_MYSQL_ARGS` -- MySQL connection options: `--mysql-host`, `--mysql-port`, `--mysql-socket` `--mysql-user`, `--mysql-password` @@ -41,12 +41,12 @@ currently recognized variables are: For example: ``` {.example} -export SBTEST_MYSQL_ARGS="--mysql-host=localhost --mysql-user=sbtest --mysql-password=secret --mysql-db=sbtest -export SBTEST_PGSQL_ARGS="--pgsql-host=localhost --pgsql-user=postgres --pgsql-password=secret --pgsql-db=sbtest +export SBTEST_MYSQL_ARGS="--mysql-host=localhost --mysql-user=sbtest --mysql-password=secret --mysql-db=sbtest" +export SBTEST_PGSQL_ARGS="--pgsql-host=localhost --pgsql-user=postgres --pgsql-password=secret --pgsql-db=sbtest" ./test_run.sh ``` -sysbench assumes that the server(s) are pre-configured so that the -specified database exists and the user connecting with the specified -credentials has all privileges on the database. In particular, sysbench -must have enough privileges to create/drop tables and read/write data. +sysbench assumes that server(s) are pre-configured so that the specified +database exists and the user connecting with the specified credentials +has all privileges on the database. In particular, sysbench must have +enough privileges to create/drop/read/modify tables in that database.