Skip to content

Commit

Permalink
Merge pull request #6001 from BenWiederhake/dev-dd-small-times
Browse files Browse the repository at this point in the history
dd: fix flaky test_final_stats_unspec
  • Loading branch information
sylvestre authored Feb 23, 2024
2 parents 9af65c0 + ede944e commit 1691127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/by-util/test_dd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ fn test_final_stats_unspec() {
new_ucmd!()
.run()
.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")
.success();
}
Expand Down

0 comments on commit 1691127

Please sign in to comment.