summaryrefslogtreecommitdiff
path: root/indra/llcommon/tests/llprocess_test.cpp
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@geenzo.com>2026-08-12 18:37:00 -0400
committerJonathan "Geenz" Goodman <geenz@geenzo.com>2026-08-12 18:37:00 -0400
commit159a08c98dcba2bdf25caf13b236e27c54eda050 (patch)
treeaa2f0d4d1f23e3dda69b01328836c8d11ff206bd /indra/llcommon/tests/llprocess_test.cpp
parent464536822240960aef0184753f892921b603c2f5 (diff)
Fix up LLProcess tests.
Diffstat (limited to 'indra/llcommon/tests/llprocess_test.cpp')
-rw-r--r--indra/llcommon/tests/llprocess_test.cpp10
1 files 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<DWORD> pids = wait_for_helper_pids(pidfile.getName(), child_count);
+ std::vector<DWORD> pids = wait_for_helper_pids(pidfile.getPath().string(), child_count);
std::vector<HANDLE> 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";
}