Files
systemd/test
Nick Rosbrook a45dad1aa5 test: cope with uutils coreutils flag parsing for date command
With GNU coreutils, one can pass an argument to the "set" flag like:

 date -s "-3 days"

With uutils coreutils, that gives an error:

 error: unexpected argument '-3' found
    tip: to pass '-3' as a value, use '-- -3'

That's a bug (https://github.com/uutils/coreutils/issues/9679), but both
implementations accept --set="-3 days" just fine, so use that instead.

(cherry picked from commit 9dcfd6e8fe)
2026-02-06 14:29:10 +00:00
..
2025-08-20 16:17:11 +09:00
2025-12-07 09:09:03 +09:00