diff options
author | Jakub Narebski <jnareb@gmail.com> | 2010-01-30 23:30:38 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-30 15:33:06 -0800 |
commit | 745a2db409c3b8346f28f6b2f1961b19051430f5 (patch) | |
tree | 48c21cb1ecc327bb6965e2bc6fc7b58514c5c4be /t/gitweb-lib.sh | |
parent | b0883aa6c77111e88496bd0afe073caf68ab9f99 (diff) | |
download | git-745a2db409c3b8346f28f6b2f1961b19051430f5.tar.gz |
gitweb: Make running t9501 test with '--debug' reliable and usable
Remove test_debug lines after 'snapshots: tgz only default format
enabled' and 'snapshots: all enabled in default, use default disabled
value' tests. Those tests constitute of multiple gitweb_run
invocation, therefore outputting gitweb.output for the last gitweb_run
wouldn't help much in debugging test failure, and can only confuse.
For snapshot tests which check for "200 OK" status, change
test_debug 'cat gitweb.output'
to
test_debug 'cat gitweb.headers'
Otherwise when running this test with '--debug' option,
t/t9501-gitweb-standalone-http-status.sh would dump *binary data* (the
snapshot itself) to standard output, which can mess up state of terminal
due to term control characters which can be embedded in output.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/gitweb-lib.sh')
0 files changed, 0 insertions, 0 deletions