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 339E46EC5F; Mon, 19 Apr 2021 22:39:36 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 339E46EC5F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1618861176; bh=KFxj7JBlxL56KocefBCB1+RG/rnXyYCybCSUB7HXuhE=; h=Date:To:References:In-Reply-To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=f3shtu2fWow5ReiOW71SIzGm3JvDp5Hez4jgpt2zZOBgB1wX0vhjmXAXbWq0ady+l nap5oU3jQn9SxDhOIP3Hu14GyWwVdcCejyw5wr1VM8fh+p2mRAgoz3qo840vI74A9P dq51cDmfL6kHsvaPxZ+oQ7RDycjvTO4Ro4rCHg+o= Received: from smtpng2.m.smailru.net (smtpng2.m.smailru.net [94.100.179.3]) (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 AA37F6EC5F for ; Mon, 19 Apr 2021 22:39:35 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org AA37F6EC5F Received: by smtpng2.m.smailru.net with esmtpa (envelope-from ) id 1lYZk6-0005js-Hb; Mon, 19 Apr 2021 22:39:34 +0300 Date: Mon, 19 Apr 2021 22:39:21 +0300 To: Sergey Kaplun Message-ID: <20210419193921.GD29703@tarantool.org> References: <20210416182100.10115-1-skaplun@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210416182100.10115-1-skaplun@tarantool.org> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.10.1 (2018-07-13) X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD92FFCB8E6708E7480257C85EA0BB7A95D5E28B957962BB550182A05F53808504006B306F708C9BBD81AA186EAB456E00D81AB6B20FDEAAA018341FBFF9FD3F895 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE789805A6418246A1AEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637D3219148F76DED538638F802B75D45FF914D58D5BE9E6BC1A93B80C6DEB9DEE97C6FB206A91F05B25D499B30D186A97D03EC6D00D8B1ADBA518C0FB0186044C402ED4CEA229C1FA827C277FBC8AE2E8BF80095D1ED7F4578A471835C12D1D9774AD6D5ED66289B5259CC434672EE6371117882F4460429724CE54428C33FAD30A8DF7F3B2552694AC26CFBAC0749D213D2E47CDBA5A9658378DA827A17800CE77A825AB47F0FC8649FA2833FD35BB23DF004C906525384302BEBFE083D3B9BA73A03B725D353964B0B7D0EA88DDEDAC722CA9DD8327EE4930A3850AC1BE2E73589424AA0EF8DE9BAC4224003CC83647689D4C264860C145E X-C1DE0DAB: 0D63561A33F958A501ACE12A271F5E838E9974E6D5AAC5B842EE27E37E39A195D59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA7502E6951B79FF9A3F410CA545F18667F91A7EA1CDA0B5A7A0 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D346B71C4B0698719D76F4144425EB38D62F1FC4EEF12F8B722ADD284FABD8886CC86CC696EA03083911D7E09C32AA3244C9917B92158093AD91DD2EC39BB990A2E5A1673A01BA68E40927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojocJA+pXcDulgR8aOjiHgEQ== X-Mailru-Sender: 689FA8AB762F73936BC43F508A063822FBA0DC06EBA21F60D22FFDD23F8AFDBAA7C8D0F45F857DBFE9F1EFEE2F478337FB559BB5D741EB964C8C2C849690F8E70A04DAD6CC59E33667EA787935ED9F1B X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH luajit] test: fix directory detection in lua-Harness suite 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: Igor Munkin via Tarantool-patches Reply-To: Igor Munkin Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" Sergey, I've checked the patch into all long-term branches in tarantool/luajit and bumped a new version in 1.10, 2.6, 2.7 and master. On 16.04.21, Sergey Kaplun wrote: > <314-regex.t> uses `arg[0]:find'314'` to determine the name of the > directory where rx_* files are located. This leads to the test > failure, when lua-Harness suite run in the directory containing > "314" in its name, because the found path doesn't contain the required > files. > > This patch fixes directory name detection. > > Follows up tarantool/tarantool#5844 > --- > > I tested it locally on branch in directory containing "314" in the name. > Also, I grepped the test suites with "find", "match", "sub" patterns, > but didn't see other places with such bug like that. > > Branch: https://github.com/tarantool/luajit/tree/skaplun/gh-noticket-harness-314-find-bug > Tarantool branch: https://github.com/tarantool/tarantool/tree/skaplun/gh-noticket-harness-314-find-bug > > test/lua-Harness-tests/314-regex.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > -- > 2.31.0 > -- Best regards, IM