This file is indexed.

/usr/lib/mysql-testsuite/r/wait_timeout.result is in mysql-testsuite-5.6 5.6.16-1~exp1.

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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
SET @@global.wait_timeout= 2;
disconnect default;
connection wait_con;
connection default;
--disable_reconnect;
SELECT 1;
1
1
connection wait_con;
connection default;
SELECT 2;
Got one of the listed errors
--enable_reconnect;
SELECT 3;
3
3
disconnection default;
connection wait_con;
connection con1;
--disable_reconnect;
SELECT 1;
1
1
connection wait_con;
connection con1;
SELECT 2;
Got one of the listed errors
--enable_reconnect;
SELECT 3;
3
3
SET @@global.wait_timeout= <start_value>;
disconnection con1;
#
# Bug#54790: Use of non-blocking mode for sockets limits performance
#
#
# Test UNIX domain sockets timeout.
#
# Open con1 and set a timeout.
SET @@SESSION.wait_timeout = 2;
# Wait for con1 to be disconnected.
# Check that con1 has been disconnected.
# CR_SERVER_LOST, CR_SERVER_GONE_ERROR
SELECT 1;
Got one of the listed errors
#
# Test TCP/IP sockets timeout.
#
# Open con1 and set a timeout.
SET @@SESSION.wait_timeout = 2;
# Wait for con1 to be disconnected.
# Check that con1 has been disconnected.
# CR_SERVER_LOST, CR_SERVER_GONE_ERROR
SELECT 1;
Got one of the listed errors