diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2010-08-06 21:19:23 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-08-18 12:42:04 -0700 |
commit | 93a5724613861e6cd85964c85f2fa0891caab258 (patch) | |
tree | 33a0e1d47bb638b277ac91a3e9b370f92506aad7 /t/t7103-reset-bare.sh | |
parent | test-lib: Don't write test-results when HARNESS_ACTIVE (diff) | |
download | tgif-93a5724613861e6cd85964c85f2fa0891caab258.tar.xz |
test-lib: Add support for multiple test prerequisites
Change the test_have_prereq function in test-lib.sh to support a
comma-separated list of prerequisites. This is useful for tests that
need e.g. both POSIXPERM and SANITY.
The implementation was stolen from Junio C Hamano and Johannes Sixt,
the tests and documentation were not. See the "Tests in Cygwin" thread
in May 2009 for the originals:
http://thread.gmane.org/gmane.comp.version-control.git/116729/focus=118385
http://thread.gmane.org/gmane.comp.version-control.git/116729/focus=118434
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7103-reset-bare.sh')
0 files changed, 0 insertions, 0 deletions