CURRENT_TEST: binlog.binlog_delete_and_flush_index
mysqltest: At line 95: query 'let $current_binlog= query_get_value(SHOW MASTER STATUS, File, 1)' failed: <Unknown> (2013): Lost connection to server during query

The result from queries just before the failure was:
< snip >
### assertion: index file contains renamed binlog and the new one
SET @index=LOAD_FILE('MYSQLTEST_VARDIR/mysqld.1/data//master-bin.index');
SELECT @index;
@index
master-bin-b34582.000001
master-bin.000002

### assertion: original binlog content still exists, despite we
###            renamed and changed the index file 
include/show_binlog_events.inc
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
master-bin-b34582.000001	#	Gtid	#	#	GTID #-#-#
master-bin-b34582.000001	#	Query	#	#	use `test`; CREATE TABLE t1 (a int)
### assertion: user changed binlog index shows correct entries
show binary logs;
Log_name	File_size
master-bin-b34582.000001	#
master-bin.000002	#
DROP TABLE t1;
### assertion: purging binlogs up to binlog created after instrumenting index file should work

More results from queries before failure can be found in /dev/shm/var/1/log/binlog_delete_and_flush_index.log
