/usr/lib/mysql-testsuite/include/truncate_file.inc 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 | # truncate a giving file, all contents of the file are be cleared
if (!$file)
{
--echo Please assign a file name to $file!!
exit;
}
let TRUNCATE_FILE= $file;
perl;
my $filename = $ENV{'TRUNCATE_FILE'};
$filename =~ s/\/\//\//;
open FILE, '>', $filename || die "Can not open file $filename";
close FILE;
EOF
|