git-commit-vandalism/t/t5411
Jiang Xin 2bafb3d702 test: compare raw output, not mangle tabs and spaces
Before comparing with the expect file, we used to call function
"make_user_friendly_and_stable_output" to filter out trailing spaces in
output.  Ævar recommends using pattern "s/Z$//" to prepare expect file,
and then compare it with raw output.

Since we have fixed the issue of occasionally missing the clear-to-eol
suffix when displaying sideband #2 messages, it is safe and stable to
test against raw output.

Suggested-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Jiang Xin <zhiyou.jx@alibaba-inc.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2021-06-17 14:12:21 +09:00
..
common-functions.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00
once-0010-report-status-v1.sh t5411: refactor check of refs using test_cmp_refs 2021-01-22 13:09:06 -08:00
test-0000-standard-git-push.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00
test-0001-standard-git-push--porcelain.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00
test-0002-pre-receive-declined.sh t5411: refactor check of refs using test_cmp_refs 2021-01-22 13:09:06 -08:00
test-0003-pre-receive-declined--porcelain.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00
test-0010-proc-receive-settings.sh receive-pack: new config receive.procReceiveRefs 2020-08-27 12:47:47 -07:00
test-0011-no-hook-error.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00
test-0012-no-hook-error--porcelain.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00
test-0013-bad-protocol.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00
test-0014-bad-protocol--porcelain.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00
test-0020-report-ng.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00
test-0021-report-ng--porcelain.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00
test-0022-report-unexpect-ref.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00
test-0023-report-unexpect-ref--porcelain.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00
test-0024-report-unknown-ref.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00
test-0025-report-unknown-ref--porcelain.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00
test-0026-push-options.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00
test-0027-push-options--porcelain.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00
test-0030-report-ok.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00
test-0031-report-ok--porcelain.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00
test-0032-report-with-options.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00
test-0033-report-with-options--porcelain.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00
test-0034-report-ft.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00
test-0035-report-ft--porcelain.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00
test-0036-report-multi-rewrite-for-one-ref.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00
test-0037-report-multi-rewrite-for-one-ref--porcelain.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00
test-0038-report-mixed-refs.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00
test-0039-report-mixed-refs--porcelain.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00
test-0040-process-all-refs.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00
test-0041-process-all-refs--porcelain.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00
test-0050-proc-receive-refs-with-modifiers.sh test: compare raw output, not mangle tabs and spaces 2021-06-17 14:12:21 +09:00