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 8B4D174CC8; Thu, 4 Mar 2021 13:32:28 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 8B4D174CC8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1614853948; bh=fmQRVGtozRPlCJPbBmw7eqT9429rzJxwdsZdfK/kC0I=; 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=WenR9rNQlCZHWRODTk6/8kL2802yeLeMzJZ+NPSWbs7GN+J1+vm4BUp4LrjLldur0 9pyKnyEIFN80eOHFAeZAuUpT5JwpHTzdg/tYkr3BKvzsqqs29kyy4mHRcaRtf6MkD8 bUur3c/5YpjBL8/W+tNbRHZILwAlAuKJeQKL092I= Received: from smtp48.i.mail.ru (smtp48.i.mail.ru [94.100.177.108]) (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 270AA74CCA for ; Thu, 4 Mar 2021 13:25:14 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 270AA74CCA Received: by smtp48.i.mail.ru with esmtpa (envelope-from ) id 1lHlAP-0000fx-8X; Thu, 04 Mar 2021 13:25:13 +0300 To: Sergey Ostanevich , Igor Munkin Date: Thu, 4 Mar 2021 13:24:02 +0300 Message-Id: <40c00f3a0071bd6a036b2878a8510007bfe4943d.1614847731.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: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD92A98208ECBDD29F5B42DD879439ED63E04973C1061E33475182A05F538085040C37353020D05BEA5F066D8CCD074CEF40BBB34C94F0AB5542500FF606A085DE0 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7F9D3BE5B596754B8C2099A533E45F2D0395957E7521B51C2CFCAF695D4D8E9FCEA1F7E6F0F101C6778DA827A17800CE7C2204D4F9A221771EA1F7E6F0F101C674E70A05D1297E1BBC6CDE5D1141D2B1C9FA1FE35CBB185B591A98444D7C9C3FDB9171B26AD1A4AC49FA2833FD35BB23D9E625A9149C048EE33AC447995A7AD1828451B159A507268D2E47CDBA5A96583BD4B6F7A4D31EC0BC014FD901B82EE079FA2833FD35BB23D27C277FBC8AE2E8BECADA55FE5B58BB7A471835C12D1D977C4224003CC836476EC64975D915A344093EC92FD9297F6718AA50765F79006377870F476E0DB9443A7F4EDE966BC389F395957E7521B51C24C7702A67D5C33162DBA43225CD8A89F0A35B161A8BF67C157739F23D657EF2BB5C8C57E37DE458B4C7702A67D5C3316FA3894348FB808DBCF17F1EDFBC1FB573B503F486389A921A5CC5B56E945C8DA X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975CDB1C6D2319E1F167C1ABAE6B7FBE47427EB89320C977F6809C2B6934AE262D3EE7EAB7254005DCED7532B743992DF240BDC6A1CF3F042BAD6DF99611D93F60EF31C0090ACECF247D699F904B3F4130E343918A1A30D5E7FCCB5012B2E24CD356 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34BC3EEE75EF3BACCFADD71A8B3FB341CFC3BAD2B3A89095E761CA7D2D38652905FFB8E1F8748C54AA1D7E09C32AA3244C13D879026DCF00A26022F60B0B00438030452B15D76AEC14927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojSsmoOoMLSh0sgSIrlq2Dog== X-Mailru-Sender: 3B9A0136629DC91206CBC582EFEF4CB4B4FD0C2E4D37E863ABF93359CF19A8294F6B11B153EA4707F2400F607609286E924004A7DEC283833C7120B22964430C52B393F8C72A41A89437F6177E88F7363CDA0F3B3F5B9367 X-Mras: Ok Subject: [Tarantool-patches] [WIP luajit 15/15] 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 b34ade5..0a7dfec 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