[Bps-public-commit] Config-GitLike branch, master, updated. 902073d4cea14df3ba4936a3de69dc2e9b8ebd41
spang at bestpractical.com
spang at bestpractical.com
Wed Jun 3 09:34:37 EDT 2009
The branch, master has been updated
via 902073d4cea14df3ba4936a3de69dc2e9b8ebd41 (commit)
from f0be4dafd904c87a3d2be44f14db7e0e1c8df5a9 (commit)
Summary of changes:
t/t1300-repo-config.t | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 902073d4cea14df3ba4936a3de69dc2e9b8ebd41
Author: Christine Spang <spang at mit.edu>
Date: Wed Jun 3 16:34:25 2009 +0300
pass in tmpdir to the TestConfig constructors on the last two tests
diff --git a/t/t1300-repo-config.t b/t/t1300-repo-config.t
index 6a857a8..d810f31 100644
--- a/t/t1300-repo-config.t
+++ b/t/t1300-repo-config.t
@@ -791,10 +791,12 @@ is($config->dump, $expect, 'value continued on next line');
symlink File::Spec->catfile($config_dir, 'notyet'),
File::Spec->catfile($config_dir, 'myconfig');
-my $myconfig = TestConfig->new(confname => 'myconfig');
+my $myconfig = TestConfig->new(confname => 'myconfig',
+ tmpdir => $config_dirname);
$myconfig->set( key => 'test.frotz', value => 'nitfol',
filename => File::Spec->catfile($config_dir, 'myconfig'));
-my $notyet = TestConfig->new(confname => 'notyet');
+my $notyet = TestConfig->new(confname => 'notyet',
+ tmpdir => $config_dirname);
$notyet->set ( key => 'test.xyzzy', value => 'rezrov',
filename => File::Spec->catfile($config_dir, 'notyet'));
$notyet->load;
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list