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 A54496F3C0; Fri, 12 Mar 2021 08:31:02 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org A54496F3C0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1615527062; bh=bD/3rjUCL3/lvVnaGXYIt+Bf5XjO0p9AMEpbUmcHlD8=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=Bv5IhMfla06PzMll8mxRi73KUpEowMDlhZC8zdTKmxxJ9i1GzzgHSWUAVwxniqnZo 8ylzAyyN0+iZbwIyUdb7YJR/jzHpD+HCO9ZOf05B49Sh9npZDAtD+bbNbJRG49daLs /qe3TRxAYePnPv6kRy04xu5gGZbFv0wxM0Kal1P8= Received: from smtp56.i.mail.ru (smtp56.i.mail.ru [217.69.128.36]) (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 09B2F6F3C8 for ; Fri, 12 Mar 2021 08:28:35 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 09B2F6F3C8 Received: by smtp56.i.mail.ru with esmtpa (envelope-from ) id 1lKaLj-0000YU-6N; Fri, 12 Mar 2021 08:28:35 +0300 To: Sergey Ostanevich , Igor Munkin Date: Fri, 12 Mar 2021 08:27:34 +0300 Message-Id: <2ff2254fb4feff43746be0b6ee2d4299510ce252.1615470667.git.skaplun@tarantool.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD9EC9B6B2B0ADCE3749B8EBFFE696EFF8A31EAAA39892492E8182A05F538085040D484C2C36CBC37CB12C6A64053D2CF1A8A227FA46C2C2A1691C9D7A1E8E5A7B2 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7548C33FFD72831AFEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F790063715F166F2542EEE4C8638F802B75D45FF914D58D5BE9E6BC131B5C99E7648C95C11F5982A89E0728CD80990ABD8D8141EE02BE3FE2BB9CCDCA471835C12D1D9774AD6D5ED66289B5278DA827A17800CE767883B903EA3BAEA9FA2833FD35BB23D2EF20D2F80756B5F868A13BD56FB6657A471835C12D1D977725E5C173C3A84C353FA85A707D24CADCC7F00164DA146DA6F5DAA56C3B73B23C77107234E2CFBA567F23339F89546C55F5C1EE8F4F765FC36BDB105DB14A96875ECD9A6C639B01BBD4B6F7A4D31EC0BC0CAF46E325F83A522CA9DD8327EE4930A3850AC1BE2E7355E97997F8902A7B9C4224003CC836476C0CAF46E325F83A50BF2EBBBDD9D6B0F05F538519369F3743B503F486389A921A5CC5B56E945C8DA X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975C11F5982A89E0728CD80990ABD8D8141EE02BE3FE2BB9CCDC9C2B6934AE262D3EE7EAB7254005DCED7532B743992DF240BDC6A1CF3F042BAD6DF99611D93F60EFF532FBFD8162E58C699F904B3F4130E343918A1A30D5E7FCCB5012B2E24CD356 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34ADE558D2B396DA7CDDB3FCA8486BA18CF97030C5CC0DC9EBBB93F4B78312BE2D0842531CFD4CF2CE1D7E09C32AA3244CB45C46849A40068B012AB1FBC4F1E7A369B6CAE0477E908D927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojQNwI24iyQ+qPyjyPi0GcTg== X-Mailru-Sender: 3B9A0136629DC91206CBC582EFEF4CB4F2CE4C7EAB50DCC3C0B803CAF451073A53F209797D94BD8AF2400F607609286E924004A7DEC283833C7120B22964430C52B393F8C72A41A89437F6177E88F7363CDA0F3B3F5B9367 X-Mras: Ok Subject: [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 Kaplun via Tarantool-patches Reply-To: Sergey Kaplun Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" Inside Tarantool's GiHub-CI there is not defined variable LOGNAME nor USERNAME. This leads to failed test inside CI, because a string is expected. This test is skipped when this variable is `nil`. 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(-) 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") local user = 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 do -- remove -- 2.28.0