diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2010-08-13 20:40:06 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-08-18 12:43:23 -0700 |
commit | f2f7b6a550008151a1d312b058c853cd7a61f9ab (patch) | |
tree | fc4cc7cb98983f00a3ab102da86a7b4f3048d144 /t/lib-patch-mode.sh | |
parent | f04593199b1e1b91687463e46ad4595280853677 (diff) | |
download | git-f2f7b6a550008151a1d312b058c853cd7a61f9ab.tar.gz git-f2f7b6a550008151a1d312b058c853cd7a61f9ab.tar.xz |
lib-patch-mode tests: change from skip_all=* to prereq skip
Change this test to skip test with test prerequisites, and to do setup
work in tests. This improves the skipped statistics on platforms where
the test isn't run.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-patch-mode.sh')
-rw-r--r-- | t/lib-patch-mode.sh | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/t/lib-patch-mode.sh b/t/lib-patch-mode.sh index 375e24865..06c3c9176 100644 --- a/t/lib-patch-mode.sh +++ b/t/lib-patch-mode.sh @@ -2,11 +2,6 @@ . ./test-lib.sh -if ! test_have_prereq PERL; then - skip_all='skipping --patch tests, perl not available' - test_done -fi - set_state () { echo "$3" > "$1" && git add "$1" && |