From: Simon Josefsson Date: Sun, 10 May 2009 19:54:23 +0000 (+0200) Subject: tests/test-vc-list-files-git.sh: Avoid git config complaints. X-Git-Tag: v0.1~5926 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=68b732753567b5aaf04139acd35cf6ae7362aa01;p=gnulib.git tests/test-vc-list-files-git.sh: Avoid git config complaints. --- diff --git a/ChangeLog b/ChangeLog index c7fb115f9..0dfb024ad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-05-08 Simon Josefsson + + * 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 * gnulib-tool (func_import, func_create_testdir, copy-file): Change diff --git a/tests/test-vc-list-files-git.sh b/tests/test-vc-list-files-git.sh index a42aec19a..f1627e7e5 100755 --- 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 @@ mkdir $tmpdir && cd $tmpdir && || { 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 &&