diff options
| author | David Bremner <david@tethera.net> | 2022-12-27 13:08:47 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2023-02-20 09:22:32 -0400 |
| commit | 09f2ad8e853375930c63bca847f623bc722b9cc0 (patch) | |
| tree | c83851be016bd5ea542ac8b36f507b8068d5e83e /test | |
| parent | 4e6c6c8aac7f581448df525abd09b85c08358dd3 (diff) | |
lib: add better diagnostics for over long filenames.
Previously we just crashed with an internal error. With this change,
the caller can handle it better. Update notmuch-new so that it doesn't
crash with "unknown error code" because of this change.
Diffstat (limited to 'test')
| -rwxr-xr-x | test/T050-new.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/T050-new.sh b/test/T050-new.sh index c4a51a05..09c2bfc6 100755 --- a/test/T050-new.sh +++ b/test/T050-new.sh @@ -384,7 +384,6 @@ EOF test_expect_equal_file EXPECTED OUTPUT test_begin_subtest "Long file names have reasonable diagnostics" -test_subtest_known_broken printf -v name 'f%.0s' {1..234} generate_message "[filename]=$name" notmuch new 2>&1 | notmuch_dir_sanitize >OUTPUT |
