[Commits] efeb905: Rename test files.

Jan Lindström jan.lindstrom at mariadb.com
Tue Dec 15 09:47:08 EET 2015


revision-id: efeb905736724f7792b4b533ca5f04425098b5d5 (mariadb-10.1.9-15-gefeb905)
parent(s): 82bec8bfdf87b75e0a055a4739a69f5090ed699d
committer: Jan Lindström
timestamp: 2015-12-15 09:46:53 +0200
message:

Rename test files.

---
 .../sys_vars/r/innodb_buffer_pool_dump_pct.result  | 20 -------------
 .../r/innodb_buffer_pool_dump_pct_basic.result     | 20 +++++++++++++
 .../sys_vars/t/innodb_buffer_pool_dump_pct.test    | 34 ----------------------
 .../t/innodb_buffer_pool_dump_pct_basic.test       | 34 ++++++++++++++++++++++
 4 files changed, 54 insertions(+), 54 deletions(-)

diff --git a/mysql-test/suite/sys_vars/r/innodb_buffer_pool_dump_pct.result b/mysql-test/suite/sys_vars/r/innodb_buffer_pool_dump_pct.result
deleted file mode 100644
index 51c72cf..0000000
--- a/mysql-test/suite/sys_vars/r/innodb_buffer_pool_dump_pct.result
+++ /dev/null
@@ -1,20 +0,0 @@
-SET @orig = @@global.innodb_buffer_pool_dump_pct;
-SELECT @orig;
- at orig
-100
-SET GLOBAL innodb_buffer_pool_dump_pct=3, GLOBAL innodb_buffer_pool_dump_now = ON;
-SET GLOBAL innodb_buffer_pool_dump_pct=0;
-SELECT @@global.innodb_buffer_pool_dump_pct;
-@@global.innodb_buffer_pool_dump_pct
-1
-SHOW WARNINGS;
-Level	Code	Message
-Warning	1292	Truncated incorrect innodb_buffer_pool_dump_pct value: '0'
-SET GLOBAL innodb_buffer_pool_dump_pct=101;
-SELECT @@global.innodb_buffer_pool_dump_pct;
-@@global.innodb_buffer_pool_dump_pct
-100
-SHOW WARNINGS;
-Level	Code	Message
-Warning	1292	Truncated incorrect innodb_buffer_pool_dump_pct value: '101'
-SET GLOBAL innodb_buffer_pool_dump_pct=@orig;
diff --git a/mysql-test/suite/sys_vars/r/innodb_buffer_pool_dump_pct_basic.result b/mysql-test/suite/sys_vars/r/innodb_buffer_pool_dump_pct_basic.result
new file mode 100644
index 0000000..51c72cf
--- /dev/null
+++ b/mysql-test/suite/sys_vars/r/innodb_buffer_pool_dump_pct_basic.result
@@ -0,0 +1,20 @@
+SET @orig = @@global.innodb_buffer_pool_dump_pct;
+SELECT @orig;
+ at orig
+100
+SET GLOBAL innodb_buffer_pool_dump_pct=3, GLOBAL innodb_buffer_pool_dump_now = ON;
+SET GLOBAL innodb_buffer_pool_dump_pct=0;
+SELECT @@global.innodb_buffer_pool_dump_pct;
+@@global.innodb_buffer_pool_dump_pct
+1
+SHOW WARNINGS;
+Level	Code	Message
+Warning	1292	Truncated incorrect innodb_buffer_pool_dump_pct value: '0'
+SET GLOBAL innodb_buffer_pool_dump_pct=101;
+SELECT @@global.innodb_buffer_pool_dump_pct;
+@@global.innodb_buffer_pool_dump_pct
+100
+SHOW WARNINGS;
+Level	Code	Message
+Warning	1292	Truncated incorrect innodb_buffer_pool_dump_pct value: '101'
+SET GLOBAL innodb_buffer_pool_dump_pct=@orig;
diff --git a/mysql-test/suite/sys_vars/t/innodb_buffer_pool_dump_pct.test b/mysql-test/suite/sys_vars/t/innodb_buffer_pool_dump_pct.test
deleted file mode 100644
index d2f5cb4..0000000
--- a/mysql-test/suite/sys_vars/t/innodb_buffer_pool_dump_pct.test
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# Basic test for innodb_buffer_pool_dump_pct
-#
-
--- source include/have_innodb.inc
-
-# Check the default value
-SET @orig = @@global.innodb_buffer_pool_dump_pct;
-SELECT @orig;
-
-# Do the dump
-SET GLOBAL innodb_buffer_pool_dump_pct=3, GLOBAL innodb_buffer_pool_dump_now = ON;
-
-# Wait for the dump to complete
-let $wait_condition =
-  SELECT SUBSTR(variable_value, 1, 33) = 'Buffer pool(s) dump completed at '
-  FROM information_schema.global_status
-  WHERE LOWER(variable_name) = 'innodb_buffer_pool_dump_status';
--- source include/wait_condition.inc
-
-# Confirm that the dump file has been created
--- let $file = `SELECT CONCAT(@@datadir, @@global.innodb_buffer_pool_filename)`
--- file_exists $file
-
---disable_warnings
-SET GLOBAL innodb_buffer_pool_dump_pct=0;
-SELECT @@global.innodb_buffer_pool_dump_pct;
-SHOW WARNINGS;
-SET GLOBAL innodb_buffer_pool_dump_pct=101;
-SELECT @@global.innodb_buffer_pool_dump_pct;
-SHOW WARNINGS;
---enable_warnings
-
-SET GLOBAL innodb_buffer_pool_dump_pct=@orig;
diff --git a/mysql-test/suite/sys_vars/t/innodb_buffer_pool_dump_pct_basic.test b/mysql-test/suite/sys_vars/t/innodb_buffer_pool_dump_pct_basic.test
new file mode 100644
index 0000000..d2f5cb4
--- /dev/null
+++ b/mysql-test/suite/sys_vars/t/innodb_buffer_pool_dump_pct_basic.test
@@ -0,0 +1,34 @@
+#
+# Basic test for innodb_buffer_pool_dump_pct
+#
+
+-- source include/have_innodb.inc
+
+# Check the default value
+SET @orig = @@global.innodb_buffer_pool_dump_pct;
+SELECT @orig;
+
+# Do the dump
+SET GLOBAL innodb_buffer_pool_dump_pct=3, GLOBAL innodb_buffer_pool_dump_now = ON;
+
+# Wait for the dump to complete
+let $wait_condition =
+  SELECT SUBSTR(variable_value, 1, 33) = 'Buffer pool(s) dump completed at '
+  FROM information_schema.global_status
+  WHERE LOWER(variable_name) = 'innodb_buffer_pool_dump_status';
+-- source include/wait_condition.inc
+
+# Confirm that the dump file has been created
+-- let $file = `SELECT CONCAT(@@datadir, @@global.innodb_buffer_pool_filename)`
+-- file_exists $file
+
+--disable_warnings
+SET GLOBAL innodb_buffer_pool_dump_pct=0;
+SELECT @@global.innodb_buffer_pool_dump_pct;
+SHOW WARNINGS;
+SET GLOBAL innodb_buffer_pool_dump_pct=101;
+SELECT @@global.innodb_buffer_pool_dump_pct;
+SHOW WARNINGS;
+--enable_warnings
+
+SET GLOBAL innodb_buffer_pool_dump_pct=@orig;


More information about the commits mailing list