aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiAvatarTests.cs5
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiInventoryTests.cs4
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiLinkingTests.cs5
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiListTests.cs4
4 files changed, 18 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiAvatarTests.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiAvatarTests.cs
index 2af4810..1e0a0f4 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiAvatarTests.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiAvatarTests.cs
@@ -68,6 +68,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests
68 IConfig config = initConfigSource.AddConfig("XEngine"); 68 IConfig config = initConfigSource.AddConfig("XEngine");
69 config.Set("Enabled", "true"); 69 config.Set("Enabled", "true");
70 70
71 config = initConfigSource.AddConfig("OSSL");
72 config.Set("DebuggerSafe", false);
73 config.Set("AllowOSFunctions", "true");
74 config.Set("OSFunctionThreatLevel", "Severe");
75
71 m_scene = new SceneHelpers().SetupScene(); 76 m_scene = new SceneHelpers().SetupScene();
72 SceneHelpers.SetupSceneModules(m_scene, initConfigSource); 77 SceneHelpers.SetupSceneModules(m_scene, initConfigSource);
73 78
diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiInventoryTests.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiInventoryTests.cs
index 16b87b3..5edd3db 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiInventoryTests.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiInventoryTests.cs
@@ -73,6 +73,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests
73 73
74 config = initConfigSource.AddConfig("XEngine"); 74 config = initConfigSource.AddConfig("XEngine");
75 config.Set("Enabled", "true"); 75 config.Set("Enabled", "true");
76 config = initConfigSource.AddConfig("OSSL");
77 config.Set("DebuggerSafe", false);
78 config.Set("AllowOSFunctions", "true");
79 config.Set("OSFunctionThreatLevel", "Severe");
76 80
77 m_scene = new SceneHelpers().SetupScene(); 81 m_scene = new SceneHelpers().SetupScene();
78 SceneHelpers.SetupSceneModules(m_scene, initConfigSource, new object[] { new DefaultPermissionsModule() }); 82 SceneHelpers.SetupSceneModules(m_scene, initConfigSource, new object[] { new DefaultPermissionsModule() });
diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiLinkingTests.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiLinkingTests.cs
index 435a95f..7f8da35 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiLinkingTests.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiLinkingTests.cs
@@ -70,6 +70,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests
70 IConfig config = initConfigSource.AddConfig("XEngine"); 70 IConfig config = initConfigSource.AddConfig("XEngine");
71 config.Set("Enabled", "true"); 71 config.Set("Enabled", "true");
72 72
73 config = initConfigSource.AddConfig("OSSL");
74 config.Set("DebuggerSafe", false);
75 config.Set("AllowOSFunctions", "true");
76 config.Set("OSFunctionThreatLevel", "Severe");
77
73 m_scene = new SceneHelpers().SetupScene(); 78 m_scene = new SceneHelpers().SetupScene();
74 SceneHelpers.SetupSceneModules(m_scene, initConfigSource); 79 SceneHelpers.SetupSceneModules(m_scene, initConfigSource);
75 80
diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiListTests.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiListTests.cs
index f978138..90bbeca 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiListTests.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiListTests.cs
@@ -59,6 +59,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests
59 IConfig config = initConfigSource.AddConfig("XEngine"); 59 IConfig config = initConfigSource.AddConfig("XEngine");
60 config.Set("Enabled", "true"); 60 config.Set("Enabled", "true");
61 61
62 config = initConfigSource.AddConfig("OSSL");
63 config.Set("DebuggerSafe", false);
64 config.Set("AllowOSFunctions", "true");
65 config.Set("OSFunctionThreatLevel", "Severe");
62 Scene scene = new SceneHelpers().SetupScene(); 66 Scene scene = new SceneHelpers().SetupScene();
63 SceneObjectPart part = SceneHelpers.AddSceneObject(scene).RootPart; 67 SceneObjectPart part = SceneHelpers.AddSceneObject(scene).RootPart;
64 68