27
--source suite/serial_event_log/t/insert.inc
28
--source suite/serial_event_log/t/multi_insert.inc
29
--source suite/serial_event_log/t/alter.inc
30
--source suite/serial_event_log/t/database.inc
31
--source suite/serial_event_log/t/rename.inc
32
--source suite/serial_event_log/t/delete.inc
27
--source suite/command_log/t/insert.inc
28
--source suite/command_log/t/multi_insert.inc
29
--source suite/command_log/t/alter.inc
30
--source suite/command_log/t/database.inc
31
--source suite/command_log/t/rename.inc
32
--source suite/command_log/t/delete.inc
34
#--source suite/serial_event_log/t/truncate.inc
34
#--source suite/command_log/t/truncate.inc
36
#--source suite/serial_event_log/t/rand.inc
37
#--source suite/serial_event_log/t/tmp_table.inc
36
#--source suite/command_log/t/rand.inc
37
#--source suite/command_log/t/tmp_table.inc
39
# Read in the event.log. We must cut out all the Timestamp: XXXXXX
39
# Read in the command.log. We must cut out all the Timestamp: XXXXXX
40
40
# because they are not deterministic. The XID numbers are also removed
41
41
# these are deterministic, but they introduce a test dependancy making
42
42
# it difficult to add/remove tests in the future.
44
--exec ../drizzled/message/command_reader var/master-data/event.log | sed 's/\/\* SID: [0-9] XID: [0-9]* \*\/ //g' | sed 's/Timestamp: [0-9]*//g'
44
--exec ../drizzled/message/command_reader var/master-data/command.log | sed 's/\/\* SID: [0-9] XID: [0-9]* \*\/ //g' | sed 's/Timestamp: [0-9]*//g'
46
46
# Test the truncate_log functionality
47
--source suite/serial_event_log/t/truncate_log.inc
47
--source suite/command_log/t/truncate_log.inc
49
49
# Trim result since Solaris/BSD wc program apparently adds whitespace before output
50
--exec wc -l var/master-data/event.log | tr -d ' '
50
--exec wc -l var/master-data/command.log | tr -d ' '