Skip to content

Commit

Permalink
Print path before
Browse files Browse the repository at this point in the history
  • Loading branch information
theory committed Nov 22, 2024
1 parent 331746f commit 162d629
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/pgxs/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ fn configure() -> Result<(), BuildError> {
assert_ends_with!(
e.to_string(),
if cfg!(windows) {
"`\".\\\\configure\"`: uncategorized error"
"`\".\\\\configure\"`: entity not found"
} else {
"\"./configure\"`: permission denied"
},
Expand Down
1 change: 1 addition & 0 deletions src/pipeline/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ fn run() -> Result<(), BuildError> {
.chain(env::split_paths(&path));

// Run sudo echo with the path set.
println!("PATH: {}\n", env::var("PATH").unwrap());
temp_env::with_var("PATH", Some(env::join_paths(path).unwrap()), || {
println!("PATH: {}\n", env::var("PATH").unwrap());
if let Err(e) = pipe.run("echo", ["hello"], true) {
Expand Down

0 comments on commit 162d629

Please sign in to comment.