summaryrefslogtreecommitdiff
path: root/test/crossfile/definition.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/crossfile/definition.lua')
-rw-r--r--test/crossfile/definition.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/crossfile/definition.lua b/test/crossfile/definition.lua
index ad26e96f..ecd6f98e 100644
--- a/test/crossfile/definition.lua
+++ b/test/crossfile/definition.lua
@@ -688,8 +688,8 @@ TEST {
}
}
-local originOS = platform.OS
-platform.OS = 'Linux'
+
+if platform.OS == 'Linux' then
TEST {
{
@@ -742,7 +742,8 @@ TEST {
]]
}
}
-platform.OS = originOS
+
+end
local originRuntimePath = config.get(nil, 'Lua.runtime.path')
config.set(nil, 'Lua.runtime.path', {