1
--echo Check the size of the vardir
2
--echo The output size is in unit blocks
8
my $dir = $ENV{'MYSQLTEST_VARDIR'};
10
find( sub { $size += -f $_ ? -s _ : 0 }, $dir );
12
if ( $size < 1717987000 )
13
{ print "TRUE", "\n";}
15
{ print "FALSE $size", "\n";}
18
## Expected size for the VAR dir being changed for the PB2 runs
20
##if ( $size =~ /^496[\d]{5}$/ )
22
## { print "TRUE", "\n";}
25
## { print "FALSE $size", "\n";}