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 1F5626EC56; Sat, 13 Mar 2021 21:50:07 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 1F5626EC56 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1615661407; bh=iWvRKOdvvu1X5Q0Uy20tjXWTNpXVlR1Etkp9vvkWhxo=; h=In-Reply-To:Date:References:To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=lnGKPqqp0aIXL/rnyApaoav4WzH2pi4VcP9H7i4/mwZx6SlcKRZ/KHdUxeuYVTB+n IKM3DzBuMKaYfMGuhZ+L9HWdk34H0fLI+llsZFOp1Vllidnom8J0oSC3h5B1/myVMi tHpQtT+4a7/G4hc9REIZXsRm0N0WuZG2dPAELtok= Received: from smtp16.mail.ru (smtp16.mail.ru [94.100.176.153]) (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 8F6D56EC56 for ; Sat, 13 Mar 2021 21:50:06 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 8F6D56EC56 Received: by smtp16.mail.ru with esmtpa (envelope-from ) id 1lL9Kv-000628-LG; Sat, 13 Mar 2021 21:50:05 +0300 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) In-Reply-To: <2ff2254fb4feff43746be0b6ee2d4299510ce252.1615470667.git.skaplun@tarantool.org> Date: Sat, 13 Mar 2021 21:50:04 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: <9B7EE225-4CF0-4C2E-947E-69ECDF129A89@tarantool.org> References: <2ff2254fb4feff43746be0b6ee2d4299510ce252.1615470667.git.skaplun@tarantool.org> To: Sergey Kaplun X-Mailer: Apple Mail (2.3654.60.0.2.21) X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9D3134714A9BDB69B5A6145416490033C23E814B02A2DD10F00894C459B0CD1B9DAA03E070E59303D6D6FFC40D2A9813E63F35F3B34EAC4380617A7DEC1BA40D2 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7DB84ED444C624799EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637188F5654332B449D8638F802B75D45FF914D58D5BE9E6BC131B5C99E7648C95C7FF294EE7CC9FD50E9DC174AA96CF3F0AFF332177BD522EBA471835C12D1D9774AD6D5ED66289B5278DA827A17800CE767883B903EA3BAEA9FA2833FD35BB23D2EF20D2F80756B5F868A13BD56FB6657A471835C12D1D977725E5C173C3A84C37EF884183F8E4D67117882F4460429728AD0CFFFB425014E868A13BD56FB6657A7F4EDE966BC389F9E8FC8737B5C224958CDF7FFE3EBBCC0089D37D7C0E48F6CCF19DD082D7633A0E7DDDDC251EA7DABAAAE862A0553A39223F8577A6DFFEA7C4DB04CA562B6C7F843847C11F186F3C5E7DDDDC251EA7DABCC89B49CDF41148FDCD13837A2BCF0203C9F3DD0FB1AF5EB4E70A05D1297E1BBCB5012B2E24CD356 X-B7AD71C0: AC4F5C86D027EB782CDD5689AFBDA7A2BBE337FB72E923155C0AF1600DCBC20B6B58427014E5D53387A953B08FF59238 X-C1DE0DAB: 0D63561A33F958A537A0D81F076A541E8BC3C1C93A97850734B42CC1B2178782D59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA75F04B387B5D7535DE410CA545F18667F91A7EA1CDA0B5A7A0 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D3435BBF0AC4E3A921CB5889C674A121EA97B574463246545C49F15A568F5F86B4F0F0CC61EF3C710DB1D7E09C32AA3244C26A78D752F4D657632C2BE6311100DF130363D8B7DA7DD44FACE5A9C96DEB163 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2bioj510EsIhvqdm/MaZ81JWhzw== X-Mailru-Sender: 3B9A0136629DC912F4AABCEFC589C81E797D833DA1887ECEF3DCAE73FE3ADD2C7DAF7C4D404A89F6AD07DD1419AC565FA614486B47F28B67C5E079CCF3B0523AED31B7EB2E253A9E112434F685709FCF0DA7A0AF5A3A8387 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH luajit 6/6] test: skip test for getenv in 309-os.t 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 Ostanevich via Tarantool-patches Reply-To: Sergey Ostanevich Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" Hi! Thanks for the patch! Shall we consider an environment being set in cmake dedicated to the = Tarantool=E2=80=99s testing? Regards, Sergos > On 12 Mar 2021, at 08:27, Sergey Kaplun wrote: >=20 > Inside Tarantool's GiHub-CI there is not defined variable LOGNAME nor t ^^^ no=20 > USERNAME. This leads to failed test inside CI, because a string is test failure > expected. >=20 > This test is skipped when this variable is `nil`. >=20 > Part of tarantool/tarantool#5844 > Part of tarantool/tarantool#4473 > --- > test/lua-Harness-tests/309-os.t | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) >=20 > diff --git a/test/lua-Harness-tests/309-os.t = b/test/lua-Harness-tests/309-os.t > index f94db00..6b3ea4d 100755 > --- a/test/lua-Harness-tests/309-os.t > +++ b/test/lua-Harness-tests/309-os.t > @@ -170,7 +170,11 @@ do -- getenv > is(os.getenv('__IMPROBABLE__'), nil, "function getenv") >=20 > local user =3D os.getenv('LOGNAME') or os.getenv('USERNAME') > - type_ok(user, 'string', "function getenv") > + if not user then > + skip("no LOGNAME and USERNAME") > + else > + type_ok(user, 'string', "function getenv") > + end > end >=20 > do -- remove > --=20 > 2.28.0 >=20