X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=t%2Fbazaar.t;h=6e58f48f1c4e6183ea6a03d8c194317e5b2f2759;hb=9ef5139918dbe3f4cf0b3310c76dd31090925406;hp=cd840fbe1b39d2d48340430da718e1e8788d5c79;hpb=be60d261e6cbee094e4df74e1bb24c8ad3dc393d;p=ikiwiki.git diff --git a/t/bazaar.t b/t/bazaar.t index cd840fbe1..6e58f48f1 100755 --- a/t/bazaar.t +++ b/t/bazaar.t @@ -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;