Skip to content

Commit

Permalink
t/bazaar.t: Work around bzr 2.2.0's new requirement to configure bzr …
Browse files Browse the repository at this point in the history
…whoami before committing.
  • Loading branch information
joeyh committed Aug 30, 2010
1 parent bdafa44 commit 2ec5efc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions debian/changelog
Expand Up @@ -21,6 +21,8 @@ ikiwiki (3.20100816) UNRELEASED; urgency=low
(intrigeri:)
* po: Fix some bugs that affected l10n.ikiwiki.info's unusual
setup. (intrigeri)
* t/bazaar.t: Work around bzr 2.2.0's new requirement to configure
bzr whoami before committing.

-- Joey Hess <joeyh@debian.org> Sun, 15 Aug 2010 11:45:48 -0400

Expand Down
8 changes: 8 additions & 0 deletions t/bazaar.t
Expand Up @@ -25,6 +25,14 @@ $config{srcdir} = "$dir/repo";
IkiWiki::loadplugins();
IkiWiki::checkconfig();

# XXX
# This is a workaround for bzr's new requirement that bzr whoami be run
# before committing. This makes the test suite work with an unconfigured
# bzr, but ignores the need to have a properly configured bzr before
# using ikiwiki with bzr.
$ENV{HOME}=$dir;
system 'bzr whoami test@example.com';

system "bzr init $config{srcdir}";

use CGI::Session;
Expand Down

0 comments on commit 2ec5efc

Please sign in to comment.