2
# Tests the truncate debug functionality of the command log
4
# We insert some things into the log, then truncate, and check
5
# that the size of the log file is 0 after truncation
8
# Populate log with some records...
9
--source suite/command_log/t/insert.inc
11
# Trim result since Solaris/BSD wc program apparently adds whitespace before output
12
--exec wc -l var/master-data/command.log | tr -d ' '
14
# Truncate the log file
15
--source suite/command_log/t/truncate_log.inc
17
# Trim result since Solaris/BSD wc program apparently adds whitespace before output
18
--exec wc -l var/master-data/command.log | tr -d ' '