mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 07:03:03 +02:00
Using the format specifier +%s%3N with GNU date is honoured, and only
prints 3 digits of the nanoseconds portion of the seconds since epoch,
which corresponds to the milliseconds.
The uutils implementation of date currently does not honour this, and
always prints all 9 digits. This is a known issue [1], but can be worked
around by adapting this test to use nanoseconds instead of microseconds,
and then divide it by 1e6.
This fix is similar to what has been done on systemd side [2], and it is
needed to run the selftests on Ubuntu 26.04, containing uutils 0.8.0.
Note that the Fixes tag is there even if this patch doesn't fix an issue
in the kernel selftests, but it is useful for those using uutils 0.8.0.
Fixes:
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| config | ||
| diag.sh | ||
| Makefile | ||
| mptcp_connect_checksum.sh | ||
| mptcp_connect_mmap.sh | ||
| mptcp_connect_sendfile.sh | ||
| mptcp_connect_splice.sh | ||
| mptcp_connect.c | ||
| mptcp_connect.sh | ||
| mptcp_diag.c | ||
| mptcp_inq.c | ||
| mptcp_join.sh | ||
| mptcp_lib.sh | ||
| mptcp_sockopt.c | ||
| mptcp_sockopt.sh | ||
| pm_netlink.sh | ||
| pm_nl_ctl.c | ||
| settings | ||
| simult_flows.sh | ||
| userspace_pm.sh | ||