From 1c38788efee7ca9afb6d3a857c95dfd1b5f2d03b Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 28 Aug 2012 13:49:37 +0200 Subject: [PATCH] tests: test-vc-list-files-git.sh: skip if git is not available * tests/test-vc-list-files-git.sh: Skip this test when git is not available. --- ChangeLog | 6 ++++++ tests/test-vc-list-files-git.sh | 2 ++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 274db3d3d..134cf97ab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-08-28 Jim Meyering + + tests: test-vc-list-files-git.sh: skip if git is not available + * tests/test-vc-list-files-git.sh: Skip this test when git is + not available. + 2012-08-26 Bruno Haible gnulib-tool: Remove no-op option --no-changelog. diff --git a/tests/test-vc-list-files-git.sh b/tests/test-vc-list-files-git.sh index 1ea6d8961..dba30f246 100755 --- a/tests/test-vc-list-files-git.sh +++ b/tests/test-vc-list-files-git.sh @@ -19,6 +19,8 @@ : ${srcdir=.} . "$srcdir/init.sh"; path_prepend_ "$abs_aux_dir" . +git --version || skip_ git required + tmpdir=vc-git-$$ GIT_DIR= GIT_WORK_TREE=; unset GIT_DIR GIT_WORK_TREE -- 2.11.0