/usr/lib/mysql-testsuite/t/percona_bug1016991.test is in percona-server-test-5.6 5.6.22-rel71.0-0ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | #
# bug 1016991 - long_query_time not respected when slow_query_log_use_global_control = all
#
--let log_file=percona_slow_extended_query_log_1
--source include/log_start.inc
# this one should never show in log
SET GLOBAL long_query_time=10000;
SELECT 1;
# with bug, this would never show in log but should
SET GLOBAL long_query_time=0;
SELECT 1;
--source include/log_stop.inc
--let grep_pattern= ^# Time: \d{6} (\d| )\d:\d\d:\d\d\$
--source include/log_grep.inc
SET GLOBAL long_query_time=default;
--source include/log_cleanup.inc
|