bug-vc-dwim
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-vc-dwim] [PATCH] tests: avoid spurious failure of symlinked-changel


From: Jim Meyering
Subject: [Bug-vc-dwim] [PATCH] tests: avoid spurious failure of symlinked-changelog
Date: Wed, 04 Apr 2012 21:47:58 +0200

FYI, on most systems this test would fail:

    + git commit -m m .
    *** Please tell me who you are.
    Run
      git config --global user.email "address@hidden"
      git config --global user.name "Your Name"
    to set your account's default identity.
    Omit --global to set the identity only in this repository.


>From 4a045f660c6f8c4bf1b5a78deeaaf8a8441071b5 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Wed, 4 Apr 2012 21:45:12 +0200
Subject: [PATCH] tests: avoid spurious failure of symlinked-changelog

* tests/symlinked-changelog: Define git's user.name and
user.email, so that git commit does not fail.
---
 tests/symlinked-changelog |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/symlinked-changelog b/tests/symlinked-changelog
index 0da4cfc..f977b7f 100755
--- a/tests/symlinked-changelog
+++ b/tests/symlinked-changelog
@@ -18,6 +18,8 @@ EOF
 HOME=`pwd`
 export HOME
 bzr whoami 'U. Ser <address@hidden>'
+git config --global user.email "address@hidden"
+git config --global user.name "U.Ser"

 (cd m && bzr init && bzr add . && bzr ci -m m . ) || framework_failure_
 ln -s ../d/ChangeLog m
--
1.7.9.3



reply via email to

[Prev in Thread] Current Thread [Next in Thread]