tests: make test-convert-bzr.t more stable
The test would occasionally fail because datesort don't have sub-second
granularity and thus can't sort commits made in the same second.
The test is made more stable by adding 1 second of sleep to make sure the bzr
commits are done with different timestamps.
--- a/tests/test-convert-bzr.t Wed Jun 27 12:37:01 2012 -0700
+++ b/tests/test-convert-bzr.t Wed Jul 04 01:45:28 2012 +0200
@@ -225,6 +225,7 @@
$ bzr switch -b branch
Tree is up to date at revision 1.
Switched to branch: *repo/branch/ (glob)
+ $ sleep 1
$ echo b > b
$ bzr add -q b
$ bzr ci -qm addb
@@ -233,6 +234,7 @@
$ bzr switch --force ../repo/trunk
Updated to revision 1.
Switched to branch: */repo/trunk/ (glob)
+ $ sleep 1
$ echo a >> a
$ bzr ci -qm changea
$ cd ..