diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2024-08-30 16:03:15 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2024-10-21 13:30:51 -0300 |
commit | 7aac852ddead017c90c775991801e2f7dadc84e0 (patch) | |
tree | b0f0d83dd3e93db6fab7b7f7705bc83f61bf81c7 | |
parent | 362dd3a50d57b5403d778cdf92839b7f6c30e69e (diff) | |
download | luarocks-7aac852ddead017c90c775991801e2f7dadc84e0.tar.gz luarocks-7aac852ddead017c90c775991801e2f7dadc84e0.tar.bz2 luarocks-7aac852ddead017c90c775991801e2f7dadc84e0.zip |
tests: synchronize actual and fs's chdir
-rw-r--r-- | spec/unit/tools_spec.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/tools_spec.lua b/spec/unit/tools_spec.lua index 65d8b73d..2332fe1d 100644 --- a/spec/unit/tools_spec.lua +++ b/spec/unit/tools_spec.lua | |||
@@ -193,6 +193,7 @@ describe("Luarocks patch test #unit", function() | |||
193 | olddir = lfs.currentdir() | 193 | olddir = lfs.currentdir() |
194 | lfs.mkdir(tmpdir) | 194 | lfs.mkdir(tmpdir) |
195 | lfs.chdir(tmpdir) | 195 | lfs.chdir(tmpdir) |
196 | fs.change_dir(tmpdir) | ||
196 | 197 | ||
197 | write_file("lao", tzu, finally) | 198 | write_file("lao", tzu, finally) |
198 | write_file("tzu", lao, finally) | 199 | write_file("tzu", lao, finally) |