diff options
author | Sergei Golubchik <serg@mariadb.org> | 2017-03-14 15:36:30 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-03-31 19:28:58 +0200 |
commit | b2865a437f45922c2f31f2bffe0f7d6134a8720e (patch) | |
tree | 581045b1cd5f0deef8af13cdbfc73c7dfb1c26af /mysql-test/t/named_pipe.test | |
parent | d6d994bf42be0b855e3eb1c4d672a4871a186652 (diff) | |
download | mariadb-git-b2865a437f45922c2f31f2bffe0f7d6134a8720e.tar.gz |
search_pattern_in_file.inc changes
1. Special mode to search in error logs: if SEARCH_RANGE is not set,
the file is considered an error log and the search is performed
since the last CURRENT_TEST: line
2. Number of matches is printed too. "FOUND 5 /foo/ in bar".
Use greedy .* at the end of the pattern if number of matches
isn't stable. If nothing is found it's still "NOT FOUND",
not "FOUND 0".
3. SEARCH_ABORT specifies the prefix of the output.
Can be "NOT FOUND" or "FOUND" as before,
but also "FOUND 5 " if needed.
Diffstat (limited to 'mysql-test/t/named_pipe.test')
-rw-r--r-- | mysql-test/t/named_pipe.test | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mysql-test/t/named_pipe.test b/mysql-test/t/named_pipe.test index af74c200e96..8503907b808 100644 --- a/mysql-test/t/named_pipe.test +++ b/mysql-test/t/named_pipe.test @@ -28,6 +28,5 @@ let $MYSQLD_DATADIR= `select @@datadir`; --error 1 --exec $MYSQLD_CMD --enable-named-pipe --skip-networking --log-error=second-mysqld.err let SEARCH_FILE=$MYSQLD_DATADIR/second-mysqld.err; -let SEARCH_RANGE= -50; let SEARCH_PATTERN=\[ERROR\] Create named pipe failed; source include/search_pattern_in_file.inc; |