Skip to content

Commit

Permalink
fixup! mktemp: respect TMPDIR environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jfinkels committed Jun 7, 2022
1 parent 9ff62e3 commit c5aa9f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/by-util/test_mktemp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,6 @@ fn test_tmpdir_env_var() {
let result = ucmd.env(TMPDIR, ".").arg("XXX").succeeds();
let filename = result.no_stderr().stdout_str().trim_end();
let template = "XXX";
assert_matches_template!(&template, filename);
assert_matches_template!(template, filename);
assert!(at.file_exists(filename));
}

0 comments on commit c5aa9f5

Please sign in to comment.