diff --git a/tests/testsuite/git.rs b/tests/testsuite/git.rs index 7ccd08b79..c63d355c4 100644 --- a/tests/testsuite/git.rs +++ b/tests/testsuite/git.rs @@ -4249,6 +4249,13 @@ fn simple_with_fifo() { // would also be read eventually. git_project .cargo("package -l") - .with_stdout_does_not_contain("blocks-when-read") + .with_stdout_data(str![[r#" +.cargo_vcs_info.json +Cargo.lock +Cargo.toml +Cargo.toml.orig +src/main.rs + +"#]]) .run(); } diff --git a/tests/testsuite/package.rs b/tests/testsuite/package.rs index 2ee3a2ef7..e349f744c 100644 --- a/tests/testsuite/package.rs +++ b/tests/testsuite/package.rs @@ -6899,6 +6899,12 @@ fn simple_with_fifo() { // Avoid actual blocking even in case of failure, assuming that what it lists here // would also be read eventually. p.cargo("package -l") - .with_stdout_does_not_contain("blocks-when-read") + .with_stdout_data(str![[r#" +Cargo.lock +Cargo.toml +Cargo.toml.orig +src/main.rs + +"#]]) .run(); }