tests: test-vc-list-files-git.sh: skip if git is not available
[gnulib.git] / tests / test-vc-list-files-git.sh
index 1ea6d89..dba30f2 100755 (executable)
@@ -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