1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-09-14 19:16:17 +00:00

Merge pull request #6001 from BenWiederhake/dev-dd-small-times

dd: fix flaky test_final_stats_unspec
This commit is contained in:
Sylvestre Ledru 2024-02-23 08:33:35 +01:00 committed by GitHub
commit 1691127c79
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -277,7 +277,7 @@ fn test_final_stats_unspec() {
new_ucmd!() new_ucmd!()
.run() .run()
.stderr_contains("0+0 records in\n0+0 records out\n0 bytes copied, ") .stderr_contains("0+0 records in\n0+0 records out\n0 bytes copied, ")
.stderr_matches(&Regex::new(r"\d\.\d+(e-\d\d)? s, ").unwrap()) .stderr_matches(&Regex::new(r"\d(\.\d+)?(e-\d\d)? s, ").unwrap())
.stderr_contains("0.0 B/s") .stderr_contains("0.0 B/s")
.success(); .success();
} }