Mercurial > hg > octave-kai > gnulib-hg
changeset 11561:3485e4d3bbdb
tests/test-vc-list-files-git.sh: Avoid git config complaints.
author | Simon Josefsson <simon@josefsson.org> |
---|---|
date | Sun, 10 May 2009 21:54:23 +0200 |
parents | 987b2dec97b7 |
children | d0742bd1f0f8 |
files | ChangeLog tests/test-vc-list-files-git.sh |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-05-08 Simon Josefsson <simon@josefsson.org> + + * tests/test-vc-list-files-git.sh: Do git config of user.email and + user.name to prevent git commit from complaining. + 2009-05-10 Bruno Haible <bruno@clisp.org> * gnulib-tool (func_import, func_create_testdir, copy-file): Change
--- a/tests/test-vc-list-files-git.sh +++ b/tests/test-vc-list-files-git.sh @@ -1,6 +1,6 @@ #!/bin/sh # Unit tests for vc-list-files -# Copyright (C) 2008 Free Software Foundation, Inc. +# Copyright (C) 2008, 2009 Free Software Foundation, Inc. # This file is part of the GNUlib Library. # # This program is free software: you can redistribute it and/or modify @@ -36,6 +36,8 @@ || { echo "Skipping test: git not found in PATH"; (exit 77); exit 77; }; } && mkdir d && touch d/a b c && + git config user.email "you@example.com" + git config user.name "Your Name" git add . > /dev/null && git commit -q -a -m log && printf '%s\n' b c d/a > expected &&