Skip to content

Commit

Permalink
Merge pull request #93 from euank/pr/fix-nightly
Browse files Browse the repository at this point in the history
tests: explicitly pass through PATH
  • Loading branch information
LinuxMercedes committed Nov 8, 2018
2 parents f012a5a + bd9ba05 commit 38eaeb2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/src/harness/testshell/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ impl TestShell {
let mut shellcmd = Command::new(cmd.cmd);
shellcmd.env_clear();
shellcmd.env("PS1", ps1);
shellcmd.env("PATH", std::env::var("PATH").unwrap());
for env in cmd.env {
shellcmd.env(env.0, env.1);
}
Expand Down

0 comments on commit 38eaeb2

Please sign in to comment.