summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.sh
diff options
context:
space:
mode:
authorunknown <joerg@mysql.com>2006-03-01 13:29:37 +0100
committerunknown <joerg@mysql.com>2006-03-01 13:29:37 +0100
commit4ede8823b772f65745b55c44ff8df6eb1c25afd9 (patch)
tree48e0b2698477bfd7a27282b5448c2826ed4e19ce /mysql-test/mysql-test-run.sh
parent2efabfd11a6fa5621c851a472c076e4ef5184d6d (diff)
parentca3dd7f01aae783c2f8efea6adbf446e2c410c42 (diff)
downloadmariadb-git-4ede8823b772f65745b55c44ff8df6eb1c25afd9.tar.gz
Manual merge of the added "--comment=<string>" option
to both the Shell and the Perl vaerion of "mysql-test-run"- mysql-test/mysql-test-run.pl: Manual merge. mysql-test/mysql-test-run.sh: Manual merge
Diffstat (limited to 'mysql-test/mysql-test-run.sh')
-rw-r--r--mysql-test/mysql-test-run.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/mysql-test/mysql-test-run.sh b/mysql-test/mysql-test-run.sh
index c6185e990bb..8e4e8a7bea7 100644
--- a/mysql-test/mysql-test-run.sh
+++ b/mysql-test/mysql-test-run.sh
@@ -555,7 +555,14 @@ while test $# -gt 0; do
FAST_START=1
;;
--use-old-data)
- USE_OLD_DATA=1;
+ USE_OLD_DATA=1
+ ;;
+ --comment=*)
+ TMP=`$ECHO "$1" | $SED -e "s;--comment=;;"`
+ echo
+ echo '############################################'
+ echo "# $TMP"
+ echo '############################################'
;;
-- ) shift; break ;;
--* ) $ECHO "Unrecognized option: $1"; exit 1 ;;