diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2010-08-13 20:40:04 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-08-18 12:43:23 -0700 |
commit | 535d9742852e12a4d4cfc878eb2e734df70a8f22 (patch) | |
tree | 18097d029fabb52d656ab670ff50ceefd7edfd6c /t/t9200-git-cvsexportcommit.sh | |
parent | 617344d77bf2a11b507fb74160b14e5b7476f8ad (diff) | |
download | git-535d9742852e12a4d4cfc878eb2e734df70a8f22.tar.gz |
tests: Move FILEMODE prerequisite to lib-prereq-FILEMODE.sh
Change the five tests that were all checking "git config --bool
core.filemode" to use a new FILEMODE prerequisite in
lib-prereq-FILEMODE.sh.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9200-git-cvsexportcommit.sh')
-rwxr-xr-x | t/t9200-git-cvsexportcommit.sh | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/t/t9200-git-cvsexportcommit.sh b/t/t9200-git-cvsexportcommit.sh index ee39b36d78..e5da65b99f 100755 --- a/t/t9200-git-cvsexportcommit.sh +++ b/t/t9200-git-cvsexportcommit.sh @@ -5,6 +5,7 @@ test_description='Test export of commits to CVS' . ./test-lib.sh +. "$TEST_DIRECTORY"/lib-prereq-FILEMODE.sh if ! test_have_prereq PERL; then skip_all='skipping git cvsexportcommit tests, perl not available' @@ -229,11 +230,6 @@ test_expect_success \ test_must_fail git cvsexportcommit -c $id )' -if ! test "$(git config --bool core.filemode)" = false -then - test_set_prereq FILEMODE -fi - test_expect_success FILEMODE \ 'Retain execute bit' \ 'mkdir G && |