summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-08-30 15:23:22 -0400
committerJoey Hess <joey@kitenet.net>2010-08-30 15:23:22 -0400
commit2ec5efcd6c3da2c5f28d3a064b970c49778855b8 (patch)
treec4520f27354b1df6050157db14d314aa41290420 /t
parentbdafa441babb9bf73b8c25852eed1a115ca5b8e7 (diff)
t/bazaar.t: Work around bzr 2.2.0's new requirement to configure bzr whoami before committing.
Diffstat (limited to 't')
-rwxr-xr-xt/bazaar.t8
1 files changed, 8 insertions, 0 deletions
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;