summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDouglas Mencken <dougmencken@gmail.com>2014-07-30 06:10:06 -0400
committerStephan Bergmann <sbergman@redhat.com>2014-07-31 06:48:16 +0000
commit56c2802e1c0de4895856aad54262ec759abf1ab9 (patch)
treec5ff1e6f7ddba7afcdbe6dc59bbe9d9e7f315d7f
parentScope reduction. (diff)
downloadcore-56c2802e1c0de4895856aad54262ec759abf1ab9.tar.gz
core-56c2802e1c0de4895856aad54262ec759abf1ab9.zip
sal_osl_process: fix "Parent and child environment not equal" for OSX <10.6
It fails with "assertion failed": - Expression: compare_environments() [osl_process.cxx:370] - Expression: compare_merged_environments(different_child_env_vars) [osl_process.cxx:428] Just disable it (yet) for OSX <10.6 as it's already done for Windows. Change-Id: I88e838481a25ee7e977512e33e23afa2b9d394ff Reviewed-on: https://gerrit.libreoffice.org/10641 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--sal/qa/osl/process/osl_process.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/qa/osl/process/osl_process.cxx b/sal/qa/osl/process/osl_process.cxx
index 5a79ceb4b201..14c7bf581ef1 100644
--- a/sal/qa/osl/process/osl_process.cxx
+++ b/sal/qa/osl/process/osl_process.cxx
@@ -465,8 +465,8 @@ public:
}
CPPUNIT_TEST_SUITE(Test_osl_executeProcess);
- //TODO: Repair these under windows.
-#ifndef WNT
+ //TODO: Repair these (at least under Windows)
+#if !defined(WNT) && !(defined(MACOSX) && (MACOSX_SDK_VERSION < 1060))
CPPUNIT_TEST(osl_execProc_parent_equals_child_environment);
CPPUNIT_TEST(osl_execProc_merged_child_environment);
#endif