gitweb: Remove CGI::Carp::set_programname() call from t9500 gitweb test
PATCH 1/1 gitweb: Remove CGI::Carp::set_programname() call from t9500 gitweb test
It does appear to do nothing; gitweb is run as standalone program and not as CGI script in this test. This call caused problems later.
--- t/t9500-gitweb-standalone-no-errors.sh | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
t/t9500-gitweb-standalone-no-errors.sh +0 -1
@@ -31,7 +31,6 @@ our \$projects_list = ""; our \$export_ok = ""; our \$strict_export = ""; -CGI::Carp::set_programname("gitweb/gitweb.cgi"); EOF cat >.git/description <<EOF
Signature · 1 line
1.5.3.5
Quoted 2 lines · Jakub Narebski
It does appear to do nothing; gitweb is run as standalone program and not as CGI script in this test. This call caused problems later.
Care to describe "later problems" a bit more?
Quoted 20 lines
Signed-off-by Jakub Narebski <[email protected]>--- t/t9500-gitweb-standalone-no-errors.sh | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)t/t9500-gitweb-standalone-no-errors.sh +0
-1@@ -31,7 +31,6 @@ our \$projects_list = ""; our \$export_ok = ""; our \$strict_export = ""; -CGI::Carp::set_programname("gitweb/gitweb.cgi"); EOF cat >.git/description <<EOFSignature · 1 line
1.5.3.5
Quoted 6 lines · Junio C Hamano
Quoted 2 lines · Jakub Narebski
It does appear to do nothing; gitweb is run as standalone program and not as CGI script in this test. This call caused problems later.
Care to describe "later problems" a bit more?
Sorry about that. The problems were while creating yet-to-be send patch
"gitweb: Add tests for overriding gitweb config with repo config"
Perhaps not in the current version. I forgot details.
Perhaps last sentence "This call caused problems later." should be simply removed from commit message.
Signature · 2 lines
Jakub Narebski Poland