[Tarantool-patches] [PATCH v2 luajit 12/45] test: remove <misc/gc_rechain.lua> LuaJIT test

Sergey Kaplun skaplun at tarantool.org
Wed Aug 21 11:58:15 MSK 2024


This patch removes the aforementioned test since it is part of the
<lang/gc.lua> test.

Part of tarantool/tarantool#9398
---
 test/LuaJIT-tests/misc/gc_rechain.lua | 32 ---------------------------
 1 file changed, 32 deletions(-)
 delete mode 100644 test/LuaJIT-tests/misc/gc_rechain.lua

diff --git a/test/LuaJIT-tests/misc/gc_rechain.lua b/test/LuaJIT-tests/misc/gc_rechain.lua
deleted file mode 100644
index 285f4086..00000000
--- a/test/LuaJIT-tests/misc/gc_rechain.lua
+++ /dev/null
@@ -1,32 +0,0 @@
-
-do
-  local k
-
-  collectgarbage()
-
-  local t = {}
-  t.ac = 1
-
-  t.nn = 1
-  t.mm = 1
-  t.nn = nil
-  t.mm = nil
-
-  k = "a".."i"
-  t[k] = 2
-
-  t.ad = 3
-
-  t[k] = nil
-  k = nil
-
-  collectgarbage()
-
-  k = "a".."f"
-  t[k] = 4
-
-  t.ak = 5
-
-  assert(t[k] == 4)
-end
-
-- 
2.45.2



More information about the Tarantool-patches mailing list