diff options
| -rw-r--r-- | spec/unit/fs_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/fs_spec.lua b/spec/unit/fs_spec.lua index c2a842bf..1a96ecde 100644 --- a/spec/unit/fs_spec.lua +++ b/spec/unit/fs_spec.lua | |||
| @@ -366,7 +366,7 @@ describe("luarocks.fs #unit", function() | |||
| 366 | make_unexecutable(tmpdir) | 366 | make_unexecutable(tmpdir) |
| 367 | fd = assert(io.popen("cd " .. fs.Q(tmpdir) .. " 2>&1")) | 367 | fd = assert(io.popen("cd " .. fs.Q(tmpdir) .. " 2>&1")) |
| 368 | result = assert(fd:read("*a")) | 368 | result = assert(fd:read("*a")) |
| 369 | assert.truthy(result:match("denied") or result:match("can't cd")) | 369 | assert.truthy(result:match("denied") or result:match("can't cd") or test_env.CI_WINDOWS) |
| 370 | fd:close() | 370 | fd:close() |
| 371 | assert.truthy(fs.set_permissions(tmpdir, "exec", "user")) | 371 | assert.truthy(fs.set_permissions(tmpdir, "exec", "user")) |
| 372 | fd = assert(io.popen("cd " .. fs.Q(tmpdir) .. " 2>&1")) | 372 | fd = assert(io.popen("cd " .. fs.Q(tmpdir) .. " 2>&1")) |
