mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-12 22:19:44 +00:00
Fix and test resource_diff().
This commit is contained in:
@@ -45,7 +45,18 @@ $y->options->{spool} = '/var/lib/spool';
|
||||
is(
|
||||
resource_diff($x, $y),
|
||||
1,
|
||||
"Diff"
|
||||
"Big diff in 1 attrib"
|
||||
);
|
||||
|
||||
# Restore this...
|
||||
$y->options->{spool} = '/var/spool';
|
||||
# Change this...
|
||||
$y->options->{ts} = '101';
|
||||
|
||||
is(
|
||||
resource_diff($x, $y),
|
||||
1,
|
||||
"Small diff in 1 attrib"
|
||||
);
|
||||
|
||||
# #############################################################################
|
||||
|
Reference in New Issue
Block a user