[PATCH 0/2] t: work around bugs in Dash v0.5.13
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Apr 1, 2026, 10:42 UTC
- Message-ID
- <20260401-pks-tests-with-dash-v1-0-d70b5040aa5d@pks.im>
Hi,
while testing my `set -e` change for our test suite I was also playing around with Dash v0.5.13.1 and noticed that multiple of our tests fail with that version. As it turns out, some of these test failures are actual bugs in Dash itself that have been introduced in v0.5.13.
There's ultimately two bugs:
- Dash inserts CTLMBCHAR byte sequences into heredocs around multibyte
characters. This bug still exists with the current "master" branch
of Dash. - Dash may swallow some bytes when reading data, which has already
been fixed.I've Cc'd Herbert, maintainer of Dash.
Thanks!
Patrick
---
Patrick Steinhardt (2):
t: work around multibyte bug in quoted heredocs with Dash v0.5.13
t9300: work around partial read bug in Dash v0.5.13t/t0300-credentials.sh | 2 +- t/t3430-rebase-merges.sh | 4 ++-- t/t3902-quoted.sh | 14 +++++++------- t/t4014-format-patch.sh | 8 ++++---- t/t4201-shortlog.sh | 2 +- t/t9001-send-email.sh | 6 +++--- t/t9300-fast-import.sh | 32 ++++++++++++++------------------ 7 files changed, 32 insertions(+), 36 deletions(-)
--- base-commit: 270e10ad6dda3379ea0da7efd11e4fbf2cd7a325 change-id: 20260401-pks-tests-with-dash-ea71cbb36958