~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/suite/transaction_log/t/truncate_log.test

Added code necessary for building plugins dynamically.
Merged in changes from lifeless to allow autoreconf to work.
Touching plugin.ini files now triggers a rebuid - so config/autorun.sh is no
longer required to be run after touching those.
Removed the duplicate plugin names - also removed the issue that getting them
different would silently fail weirdly later.

Show diffs side-by-side

added added

removed removed

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