uptime: relax error message due to different errno on MacOS

Fixes #6569.
This commit is contained in:
Ben Wiederhake 2024-07-15 21:49:42 +02:00
parent 128335a24b
commit 6818bbe5d7

View file

@ -74,7 +74,7 @@ fn test_uptime_with_fifo() {
ts.ucmd()
.arg("fifo1")
.fails()
.stderr_contains("uptime: couldn't get boot time: Illegal seek")
.stderr_contains("uptime: couldn't get boot time")
.stdout_contains("up ???? days ??:??")
.stdout_contains("load average");