From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id A83AB7030F; Fri, 15 Jan 2021 19:19:52 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org A83AB7030F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1610727592; bh=LdiaATBQ40eY+ARxBaYLhQ3fLix6w/ltwrLi9oKasis=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=U47aZaHIapzLKjV+k8AvOSdynGjAf5/NyvFopjnZtP7swoBnKIIUwRR4D6fH75nNw 8SB4/cjb+oJk+PLjlE1LJzHRz7jycwUVtAEbodjJDzuffHXzFgKSy84GZPLlGLDZLA nMXw9phyOTgxY8vVuX/1FueJ0iDAS+YGRa5dF2qU= Received: from smtpng1.m.smailru.net (smtpng1.m.smailru.net [94.100.181.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id D6AA27030F for ; Fri, 15 Jan 2021 19:19:50 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org D6AA27030F Received: by smtpng1.m.smailru.net with esmtpa (envelope-from ) id 1l0RpF-00044W-Rc; Fri, 15 Jan 2021 19:19:50 +0300 To: tarantool-patches@dev.tarantool.org, v.shpilevoy@tarantool.org Date: Fri, 15 Jan 2021 19:19:43 +0300 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9D0E79FBC973162CD81CC0669AF3BE2AC14A0BAA29BC1501600894C459B0CD1B9F749582B4AA5664D2EC762D0416F797C8193E1ABA06EDF484E552D6BF4A3C874 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE777D9B7C31E2C1495EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637DDCE02C19EA0BA868638F802B75D45FF5571747095F342E8C7A0BC55FA0FE5FC5B96DBFA5B9E1E18845AA3E8F5636BC5FBBC66F19BDD0486389733CBF5DBD5E913377AFFFEAFD269A417C69337E82CC2CC7F00164DA146DAFE8445B8C89999729449624AB7ADAF3735872C767BF85DA29E625A9149C048EE0A3850AC1BE2E735BEFCD6C56BCFE9CE4AD6D5ED66289B524E70A05D1297E1BB35872C767BF85DA227C277FBC8AE2E8B60346117499D0CD575ECD9A6C639B01B4E70A05D1297E1BBC6867C52282FAC85D9B7C4F32B44FF57285124B2A10EEC6C00306258E7E6ABB4E4A6367B16DE6309 X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975CC8EA00DD1EB14C7F929E152DF6990E96B2AE7EF48B8C7E889C2B6934AE262D3EE7EAB7254005DCED5177E3BD826A77771E0A4E2319210D9B64D260DF9561598F01A9E91200F654B0CCA28C6D779E2CD78E8E86DC7131B365E7726E8460B7C23C X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34C2E47CA9A5606090EE0B5270B3AA9335B0C235F522E80BE9382B282FB0B63DD32A2C3360D72287AB1D7E09C32AA3244CB887F73CD6CF6DB1E103E8AE31B88064A8CE788DE6831205FACE5A9C96DEB163 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojT/h6YDL0UQ5aqA88UUMfyg== X-Mailru-Sender: 689FA8AB762F73936BC43F508A063822E70808C85055C545C6122C73D2BB0349DD788429FD8613638ED9BB8B05EE7B3AFB559BB5D741EB96D19CD4E7312BAA970A04DAD6CC59E33667EA787935ED9F1B X-Mras: Ok Subject: [Tarantool-patches] [PATCH v1] test: remove unused test files X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Sergey Bronnikov via Tarantool-patches Reply-To: sergeyb@tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" From: Sergey Bronnikov Closes #5169 --- Gitlab CI: https://gitlab.com/tarantool/tarantool/-/pipelines/242261206 Issue: https://github.com/tarantool/tarantool/issues/5169 Branch: ligurio/gh-5169-remove-unused-test-files .luacheckrc | 6 ----- test/box/lua/require_init.lua | 5 ---- test/box/lua/require_mod.lua | 7 ------ test/box/lua/test_init.lua | 45 ----------------------------------- 4 files changed, 63 deletions(-) delete mode 100644 test/box/lua/require_init.lua delete mode 100644 test/box/lua/require_mod.lua delete mode 100644 test/box/lua/test_init.lua diff --git a/.luacheckrc b/.luacheckrc index 497b1efc8..84c6fb5eb 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -33,12 +33,6 @@ exclude_files = { "test-run/**/*.lua", "test/app/*.test.lua", "test/box/*.test.lua", - -- Unused source file, to be dropped (gh-5169). - "test/box/lua/require_init.lua", - -- Unused source file, to be dropped (gh-5169). - "test/box/lua/require_mod.lua", - -- Unused source file, to be dropped (gh-5169). - "test/box/lua/test_init.lua", "test/engine/**/*.lua", "test/engine_long/**/*.lua", "test/long_run-py/**/*.lua", diff --git a/test/box/lua/require_init.lua b/test/box/lua/require_init.lua deleted file mode 100644 index c9ab07dce..000000000 --- a/test/box/lua/require_init.lua +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env tarantool -box.load_cfg() -mod = require("require_mod") -package_path = package.path -package_cpath = package.cpath diff --git a/test/box/lua/require_mod.lua b/test/box/lua/require_mod.lua deleted file mode 100644 index d708a8608..000000000 --- a/test/box/lua/require_mod.lua +++ /dev/null @@ -1,7 +0,0 @@ -exports = {} - -function exports.test(a, b) - return a+b -end - -return exports diff --git a/test/box/lua/test_init.lua b/test/box/lua/test_init.lua deleted file mode 100644 index 88cc3acdc..000000000 --- a/test/box/lua/test_init.lua +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env tarantool -box.load_cfg() --- testing start-up script -floor = require("math").floor - --- --- Access to box.cfg from start-up script --- - -box_cfg = box.cfg() - -function print_config() - return box_cfg -end - - --- --- Test for bug #977898 --- Insert from detached fiber --- - -local function do_insert() - box.fiber.detach() - box.space[0]:insert{1, 2, 4, 8} -end - -space = box.schema.create_space('tweedledum', { id = 0 }) -space:create_index('primary', { type = 'hash' }) - -fiber = box.fiber.create(do_insert) -box.fiber.resume(fiber) - --- --- Test insert from start-up script --- - -space:insert{2, 4, 8, 16} - --- --- A test case for https://github.com/tarantool/tarantool/issues/53 --- - -assert (require ~= nil) -box.fiber.sleep(0.0) -assert (require ~= nil) -- 2.25.1