From 9ca26df3d30fbcb7ab8a21989ea92eb21e360776 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 29 Oct 2023 13:16:17 +0000 Subject: tests: import-r1clog: test missing date line Repro for #1054630. Signed-off-by: Ian Jackson --- tests/tests/import-r1clog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests') diff --git a/tests/tests/import-r1clog b/tests/tests/import-r1clog index ae24d17..2785458 100755 --- a/tests/tests/import-r1clog +++ b/tests/tests/import-r1clog @@ -66,3 +66,10 @@ perl -ne 'next if m/^$/..0; print if m/^(?:author|committer) /' \ diff ../headlines-exp ../headlines-got-orig mangle-done + +: ---------- 'test missing finalisation data in -1' ---------- + +mangle-start missingdate +perl-i-clog -pe '$_="" if m{^ -- .* Sat, 12 Jul 2014 20:51:56}' +mangle-import +mangle-done -- cgit v1.2.3