Skip to content

Commit e18edc7

Browse files
tmzullingergitster
authored andcommitted
t/lib-httpd: pass GIT_TEST_SIDEBAND_ALL through Apache
07c3c2a ("tests: define GIT_TEST_SIDEBAND_ALL", 2019-01-16) added GIT_TEST_SIDEBAND_ALL to the apache.conf PassEnv list. Avoid warnings from Apache when the variable is unset, as we do for GIT_VALGRIND* and GIT_TRACE, from f628825 ("t/lib-httpd: handle running under --valgrind", 2012-07-24) and 89c57ab ("t: pass GIT_TRACE through Apache", 2015-03-13), respectively. Signed-off-by: Todd Zullinger <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 07c3c2a commit e18edc7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

t/lib-httpd.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ HTTPD_DOCUMENT_ROOT_PATH=$HTTPD_ROOT_PATH/www
9191
# hack to suppress apache PassEnv warnings
9292
GIT_VALGRIND=$GIT_VALGRIND; export GIT_VALGRIND
9393
GIT_VALGRIND_OPTIONS=$GIT_VALGRIND_OPTIONS; export GIT_VALGRIND_OPTIONS
94+
GIT_TEST_SIDEBAND_ALL=$GIT_TEST_SIDEBAND_ALL; export GIT_TEST_SIDEBAND_ALL
9495
GIT_TRACE=$GIT_TRACE; export GIT_TRACE
9596

9697
if ! test -x "$LIB_HTTPD_PATH"

0 commit comments

Comments
 (0)