From f108e54f04af5bbb5562cbd7ca68dd12f5960c16 Mon Sep 17 00:00:00 2001 From: Devel Date: Thu, 17 Sep 2026 18:51:48 +0300 Subject: [PATCH] date: add test_date_allow_missing_year and test_date_allow_spaces_after_month --- tests/by-util/test_date.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/by-util/test_date.rs b/tests/by-util/test_date.rs index 67c3b8d5257..47246673d6b 100644 --- a/tests/by-util/test_date.rs +++ b/tests/by-util/test_date.rs @@ -3297,3 +3297,15 @@ fn test_write_error() { .fails_with_code(1) .stderr_is("date: write error: No space left on device\n"); } + +#[test] +#[ignore = "GNU compat: see uutils/coreutils#14648"] +fn test_date_allow_missing_year() { + new_ucmd!().arg("01.01. 03:00 p.m.").succeeds(); +} + +#[test] +#[ignore = "GNU compat: see uutils/coreutils#14649"] +fn test_date_allow_spaces_after_month() { + new_ucmd!().arg("01.01. 2008 03:00 p.m.").succeeds(); +}