mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-11: Generic storage engine test suite
This commit is contained in:
14
mysql-test/suite/storage_engine/mask_engine.inc
Normal file
14
mysql-test/suite/storage_engine/mask_engine.inc
Normal file
@ -0,0 +1,14 @@
|
||||
#
|
||||
# This include file just replaces the storage engine under test by the generic string <STORAGE_ENGINE>
|
||||
# in the next statement. More masks can be added by defining $add_regex, e.g.
|
||||
# let $add_regex = /$data_dir/<DATA_DIR>/ /$index_dir/<INDEX_DIR>/
|
||||
#
|
||||
|
||||
--let $regex = /$storage_engine/<STORAGE_ENGINE>/i
|
||||
if ($add_regex)
|
||||
{
|
||||
--let $regex = $regex $add_regex
|
||||
}
|
||||
--let $add_regex =
|
||||
--replace_regex $regex
|
||||
|
Reference in New Issue
Block a user