This file is indexed.

/usr/lib/mysql-testsuite/t/percona_bug933969.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
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
###################### percona_bug933969.test ########################
# Bug #933969: mysqlbinlog doesn't accept stdin                      #
#                                                                    #
# The goal of this testcase is to test that mysqlbinlog handle       #
# stdin correctly when stdin is pipe.                                #
# i.e. "cat log | mysqlbinlog -" don't cause mysqlbinlog failure     #
######################################################################
-- source include/have_log_bin.inc
-- source include/not_windows.inc
-- source include/not_embedded.inc

# deletes all the binary logs
RESET MASTER;

--disable_warnings
DROP TABLE IF EXISTS t1;
--enable_warnings

# produce some statements for binlog

CREATE TABLE t1 (word VARCHAR(20));

INSERT INTO t1 VALUES ("hamite");
INSERT INTO t1 VALUES ("hoho");
INSERT INTO t1 VALUES ("znamenito");
INSERT INTO t1 VALUES ("mrachny");
INSERT INTO t1 VALUES ("mrak");
INSERT INTO t1 VALUES ("zhut");
INSERT INTO t1 VALUES ("parnisha");
INSERT INTO t1 VALUES ("krrasota!");
INSERT INTO t1 VALUES ("podumayesh");
INSERT INTO t1 VALUES ("ogo!");

FLUSH LOGS;

# run mysqlbinlog and make sure it ends normally

let $MYSQLD_DATADIR= `SELECT @@datadir`;
--exec cat $MYSQLD_DATADIR/master-bin.000001 | $MYSQL_BINLOG - >/dev/null

DROP TABLE t1;
RESET MASTER;