summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2023-07-10 15:26:21 -0400
committerNat Goodspeed <nat@lindenlab.com>2023-07-10 15:26:21 -0400
commitc77737b925e3687e47d3a1dce1b7e8b481302741 (patch)
tree68fe6dbcd36a3b218dee53dd3bc8e159b6a85854 /indra/llcommon
parentd8292a629149c2cfdda6ae9df4e87aa117153c21 (diff)
SL-18837: Windows failures in setWorkingDirectory(): C: vs. c: (sigh)
Normalize the case of the name of the temp directory for string comparison.
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/tests/llprocess_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/tests/llprocess_test.cpp b/indra/llcommon/tests/llprocess_test.cpp
index 9ca664c80c..c1cb2af7fe 100644
--- a/indra/llcommon/tests/llprocess_test.cpp
+++ b/indra/llcommon/tests/llprocess_test.cpp
@@ -591,7 +591,7 @@ namespace tut
" f.write(os.path.normcase(os.path.normpath(os.getcwd())))\n");
// Before running, call setWorkingDirectory()
py.mParams.cwd = tempdir.getName();
- ensure_equals("os.getcwd()", py.run_read(), tempdir.getName());
+ ensure_equals("os.getcwd()", py.run_read(), utf8str_tolower(tempdir.getName()));
}
template<> template<>