From: Collin Funk Date: Sat, 14 Feb 2026 06:26:59 +0000 (-0800) Subject: tests: date: check that options can follow the format string X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fec63bfa032baca29744518705a4e1341673ec5b;p=thirdparty%2Fcoreutils.git tests: date: check that options can follow the format string * tests/date/date.pl (@Tests): Add the test case. --- diff --git a/tests/date/date.pl b/tests/date/date.pl index 69d09d0fbb..a6d138d1b1 100755 --- a/tests/date/date.pl +++ b/tests/date/date.pl @@ -240,6 +240,8 @@ my @Tests = ['tz-6', '+%Z', {OUT=>"UTC"}], ['tz-7', '+%Z', {OUT=>"JST"}, {ENV=>'TZ=JST-9'}], + ['arg-order', '+%Y-%m-%d -d 2026-02-13', {OUT=>"2026-02-13"}], + ['ns-relative', '--iso=ns', "-d'1970-01-01 00:00:00.1234567 UTC +961062237.987654321 sec'",