From: Jakub Narebski Date: Sun, 26 Sep 2010 13:02:25 +0000 (+0200) Subject: t/gitweb-lib.sh: Add support for GITWEB_TEST_INSTALLED X-Git-Tag: v1.7.4-rc0~145^2~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=929909375034eb609f855fe51b2ffc57123e6dd4;p=git.git t/gitweb-lib.sh: Add support for GITWEB_TEST_INSTALLED You can set the GITWEB_TEST_INSTALLED environment variable to the gitwebdir (the directory where gitweb is installed / deployed to) of an existing gitweb instalation, or to the pathname of installed gitweb script, to test that installation. This change is intended to make it possible to test that process of installing gitweb and the modules it depends on works correctly (after splitting gitweb). If GITWEB_TEST_INSTALLED is used, print what script are we testing to make it easy to spot that we test installed gitweb. Signed-off-by: Jakub Narebski Signed-off-by: Junio C Hamano --- diff --git a/t/gitweb-lib.sh b/t/gitweb-lib.sh index 8c490c870..8b5b987f4 100644 --- a/t/gitweb-lib.sh +++ b/t/gitweb-lib.sh @@ -32,17 +32,34 @@ EOF cat >.git/description <