summaryrefslogtreecommitdiff
path: root/cli/bench/main.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-04-01 11:15:37 -0400
committerGitHub <noreply@github.com>2022-04-01 11:15:37 -0400
commit1c37ac33526dc45ad0b3f83ca8294dbb55548096 (patch)
tree426978168928c5e7c2223e4906005fa23fb34cd6 /cli/bench/main.rs
parent8ca4c1819f3e7a8716c68034e256355334d53b44 (diff)
chore(tests): use custom temp dir creation for the tests (#14153)
Diffstat (limited to 'cli/bench/main.rs')
-rw-r--r--cli/bench/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/bench/main.rs b/cli/bench/main.rs
index 0149fb002..e69727013 100644
--- a/cli/bench/main.rs
+++ b/cli/bench/main.rs
@@ -351,7 +351,7 @@ fn run_strace_benchmarks(
let mut syscall_count = HashMap::<String, u64>::new();
for (name, args, expected_exit_code) in EXEC_TIME_BENCHMARKS {
- let mut file = tempfile::NamedTempFile::new()?;
+ let mut file = secure_tempfile::NamedTempFile::new()?;
let exit_status = Command::new("strace")
.args(&[