tests/test-vc-list-files-git.sh: Avoid git config complaints.
authorSimon Josefsson <simon@josefsson.org>
Sun, 10 May 2009 19:54:23 +0000 (21:54 +0200)
committerSimon Josefsson <simon@josefsson.org>
Sun, 10 May 2009 19:54:23 +0000 (21:54 +0200)
ChangeLog
tests/test-vc-list-files-git.sh

index c7fb115..0dfb024 100644 (file)
--- 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
index a42aec1..f1627e7 100755 (executable)
@@ -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 &&