# HG changeset patch # User Bruno Haible # Date 1222436683 -7200 # Node ID b9b7a06b0c68cff2178cf99fb6b34223eddc7566 # Parent e8f58deb0be089749a09a02d17d25d6257120eb4 Explain reason for skipping tests. diff -r e8f58deb0be0 -r b9b7a06b0c68 ChangeLog --- a/ChangeLog Fri Sep 26 15:12:55 2008 +0200 +++ b/ChangeLog Fri Sep 26 15:44:43 2008 +0200 @@ -1,3 +1,8 @@ +2008-09-26 Bruno Haible + + * tests/test-vc-list-files-git.sh: Explain reason for skipping test. + * tests/test-vc-list-files-cvs.sh: Likewise. + 2008-09-26 Bruno Haible * doc/posix-headers/sys_resource.texi: Reorder items. diff -r e8f58deb0be0 -r b9b7a06b0c68 tests/test-vc-list-files-cvs.sh --- a/tests/test-vc-list-files-cvs.sh Fri Sep 26 15:12:55 2008 +0200 +++ b/tests/test-vc-list-files-cvs.sh Fri Sep 26 15:44:43 2008 +0200 @@ -45,7 +45,8 @@ mkdir $tmpdir && cd $tmpdir && # without cvs, skip the test # The double use of 'exit' is needed for the reference to $? inside the trap. - { ( cvs -Q -d "$repo" init ) > /dev/null 2>&1 || { (exit 77); exit 77; }; } && + { ( cvs -Q -d "$repo" init ) > /dev/null 2>&1 \ + || { echo "Skipping test: cvs not found in PATH"; (exit 77); exit 77; }; } && mkdir w && cd w && mkdir d && touch d/a b c && diff -r e8f58deb0be0 -r b9b7a06b0c68 tests/test-vc-list-files-git.sh --- a/tests/test-vc-list-files-git.sh Fri Sep 26 15:12:55 2008 +0200 +++ b/tests/test-vc-list-files-git.sh Fri Sep 26 15:44:43 2008 +0200 @@ -32,7 +32,8 @@ mkdir $tmpdir && cd $tmpdir && # without git, skip the test # The double use of 'exit' is needed for the reference to $? inside the trap. - { ( git init -q ) > /dev/null 2>&1 || { (exit 77); exit 77; }; } && + { ( git init -q ) > /dev/null 2>&1 \ + || { echo "Skipping test: git not found in PATH"; (exit 77); exit 77; }; } && mkdir d && touch d/a b c && git add . > /dev/null &&