From 159a08c98dcba2bdf25caf13b236e27c54eda050 Mon Sep 17 00:00:00 2001 From: "Jonathan \"Geenz\" Goodman" Date: Wed, 12 Aug 2026 18:37:00 -0400 Subject: Fix up LLProcess tests. --- indra/llcommon/tests/llprocess_test.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/indra/llcommon/tests/llprocess_test.cpp b/indra/llcommon/tests/llprocess_test.cpp index 5df43e497f..dfc34373da 100644 --- a/indra/llcommon/tests/llprocess_test.cpp +++ b/indra/llcommon/tests/llprocess_test.cpp @@ -431,9 +431,9 @@ namespace NamedTempFile pidfile("pid", ""); NamedTempFile releasefile("release", ""); - ScopedEnvironmentVariable helper_script(AUTOKILL_HELPER_SCRIPT_ENV, child_script.getName()); - ScopedEnvironmentVariable helper_pidfile(AUTOKILL_HELPER_PIDFILE_ENV, pidfile.getName()); - ScopedEnvironmentVariable helper_release(AUTOKILL_HELPER_RELEASE_ENV, releasefile.getName()); + ScopedEnvironmentVariable helper_script(AUTOKILL_HELPER_SCRIPT_ENV, child_script.getPath().string()); + ScopedEnvironmentVariable helper_pidfile(AUTOKILL_HELPER_PIDFILE_ENV, pidfile.getPath().string()); + ScopedEnvironmentVariable helper_release(AUTOKILL_HELPER_RELEASE_ENV, releasefile.getPath().string()); ScopedEnvironmentVariable helper_count(AUTOKILL_HELPER_COUNT_ENV, std::to_string(child_count)); LLProcess::Params params; @@ -442,7 +442,7 @@ namespace LLProcessPtr helper = LLProcess::create(params); tut::ensure("helper launched", bool(helper)); - std::vector pids = wait_for_helper_pids(pidfile.getName(), child_count); + std::vector pids = wait_for_helper_pids(pidfile.getPath().string(), child_count); std::vector handles; handles.reserve(pids.size()); for (DWORD pid : pids) @@ -455,7 +455,7 @@ namespace } { - std::ofstream out(releasefile.getName().c_str(), std::ios::trunc); + std::ofstream out(releasefile.getPath(), std::ios::trunc); out << "exit"; } -- cgit v1.3