1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 11:07:44 +00:00

Merge pull request #6571 from BenWiederhake/dev-fix-mac-ci

uptime: relax error message due to different errno on MacOS
This commit is contained in:
Sylvestre Ledru 2024-07-15 22:15:37 +02:00 committed by GitHub
commit 7470f657ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -74,7 +74,7 @@ fn test_uptime_with_fifo() {
ts.ucmd() ts.ucmd()
.arg("fifo1") .arg("fifo1")
.fails() .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("up ???? days ??:??")
.stdout_contains("load average"); .stdout_contains("load average");