From 69120c87ff8d633fe70fc4a3de1ea6767e9dc8a5 Mon Sep 17 00:00:00 2001 From: Alexey Kopytov Date: Sat, 22 Oct 2016 19:51:18 +0300 Subject: [PATCH] Rename command-specific tests to cmd_* for clarity. --- tests/t/{cleanup.t => cmd_cleanup.t} | 0 tests/t/{help.t => cmd_help.t} | 0 tests/t/{prepare.t => cmd_prepare.t} | 0 tests/t/{run.t => cmd_run.t} | 0 tests/t/{version.t => cmd_version.t} | 0 tests/t/commands.t | 2 +- 6 files changed, 1 insertion(+), 1 deletion(-) rename tests/t/{cleanup.t => cmd_cleanup.t} (100%) rename tests/t/{help.t => cmd_help.t} (100%) rename tests/t/{prepare.t => cmd_prepare.t} (100%) rename tests/t/{run.t => cmd_run.t} (100%) rename tests/t/{version.t => cmd_version.t} (100%) diff --git a/tests/t/cleanup.t b/tests/t/cmd_cleanup.t similarity index 100% rename from tests/t/cleanup.t rename to tests/t/cmd_cleanup.t diff --git a/tests/t/help.t b/tests/t/cmd_help.t similarity index 100% rename from tests/t/help.t rename to tests/t/cmd_help.t diff --git a/tests/t/prepare.t b/tests/t/cmd_prepare.t similarity index 100% rename from tests/t/prepare.t rename to tests/t/cmd_prepare.t diff --git a/tests/t/run.t b/tests/t/cmd_run.t similarity index 100% rename from tests/t/run.t rename to tests/t/cmd_run.t diff --git a/tests/t/version.t b/tests/t/cmd_version.t similarity index 100% rename from tests/t/version.t rename to tests/t/cmd_version.t diff --git a/tests/t/commands.t b/tests/t/commands.t index 1dbc621..0827f96 100644 --- a/tests/t/commands.t +++ b/tests/t/commands.t @@ -1,6 +1,6 @@ $ commands=$(sysbench help | grep 'Commands:' | cut -d ' ' -f 2-) $ for cmd in $commands; do - > if [ ! -r ${SBTEST_SUITEDIR}/${cmd}.t ] + > if [ ! -r ${SBTEST_SUITEDIR}/cmd_${cmd}.t ] > then > echo "Cannot find test(s) for 'sysbench $cmd'!" > exit 1