Merge branch 'jc/doc-maintainer'
[gitweb.git] / contrib / remote-helpers / test-hg.sh
index 40e6e3c0630f761eb96ed194ccb2dc7648097c7f..5f81dfae6c4a31f11ed766dd467fdd4a542afdf3 100755 (executable)
@@ -29,6 +29,15 @@ check () {
        test_cmp expected actual
 }
 
+setup () {
+       (
+       echo "[ui]"
+       echo "username = H G Wells <wells@example.com>"
+       ) >> "$HOME"/.hgrc
+}
+
+setup
+
 test_expect_success 'cloning' '
   test_when_finished "rm -rf gitrepo*" &&