From: "Randall S. Becker" <rsbecker@xxxxxxxxxxxxx> The t9602-cvsimport-branches-tags test requires the cvs package to be installed on the system on which the test is being run. The test will fail if cvs is not installed. The patch checks that cvs is installed by running the object without arguments, which should complete successfully if available. Signed-off-by: Randall S. Becker <rsbecker@xxxxxxxxxxxxx> --- t/t9602-cvsimport-branches-tags.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/t/t9602-cvsimport-branches-tags.sh b/t/t9602-cvsimport-branches-tags.sh index e1db323f54..52e8507725 100755 --- a/t/t9602-cvsimport-branches-tags.sh +++ b/t/t9602-cvsimport-branches-tags.sh @@ -6,6 +6,13 @@ test_description='git cvsimport handling of branches and tags' . ./lib-cvs.sh +cvs >/dev/null 2>&1 +if test $? -ne 1 +then + skip_all='skipping git-cvsimport tests, cvs not found' + test_done +fi + setup_cvs_test_repository t9602 test_expect_success PERL 'import module' ' -- 2.22.0