From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 6896 invoked from network); 24 Nov 2022 13:53:03 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 24 Nov 2022 13:53:03 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1669297983; b=mcB1JyWMI34ebGXd8skcpr0cZIsgetKWmbVF7e8sJM70MaSjOeNtOOQZvbfJ4Mjhrv1lfhlQtt ZGqrf+t5LSr2IuADZj+8UXgBIz/TyjZpl+WWp2cpaLKZI4/DdMQW7NDNdFlxwxP/4tIdRWn7od zpVyy1ZVvZpBX3fTMBt9dD8q/hdiKxUZp/z8tBGBmdiEQPyhgvHRmldzeBl0WH73oSfSLWcGZd SBiJHe8cyME0GJAVZTPno6NGy00FMuNA7kvQ34aPH7whbPrL1Vm+LrNEzPW8pzxRcZrDSPzBhr gW1fMvhnmzUbWY0BttzNkQNsdY8Snjr18ofQ05noCRZJzw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (iris.zentaur.org) smtp.remote-ip=198.58.127.206; dkim=pass header.d=zentaur.org header.s=dkim20200120 header.a=rsa-sha256; dmarc=pass header.from=zentaur.org; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1669297983; bh=I14sfrXKaP9lSnXarkgskSJ7OYE1ey3Qe4bNO6/H9kE=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:To:Subject:MIME-Version:Date:Message-ID:DKIM-Signature: DKIM-Signature; b=SeBIwjjrpYDNRZgwwZIqqfYB/U+zVQMtFMG+6IlPRKZdD7LDN0TnRPWt0hS3DInbTaAM5OuWhn ottYdUd4dOKVgOu2NckbR0PRa4Gzy4seQytomw0GoeId9rIbG7cYsg1iDyKQ2GPcBDlP+krnkT M+hiRpPB6gJnT70KLsKWRJnV8vXFxKvJ0lLXAtEVK7T120kCbcyRqMlY+mxQiT3IN2oFDr6JFu dr9OVLJIdwA7tvltKocOy7al7Ou9/QgNwpV3KuT8JFaXFh17W8AmGcULK024ugc4U3LNHUNrmd hPCeakWZV927batFVs5gUrJVQuw74XrqOsYfF/uNY2WOrA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From :Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=vSztZrXVRus2zeSfRWUTQBxpRSEPvwEki9jjyyRzdIY=; b=ak09U+VbNRvZs1yNUVXq1Xm/pd os8a6wb0PYw3ixITG6Z2VuHt9+YPkkVKsA/fYhdqEWNTVIWkbhEvyY7qNO49qjwX/UBvm/EEOGgln KlR5VafOQl9Nv4lFFhmfUN536evlBjVjuvecqfOvpxC6LBrpJguaix767I9KpFrJVnvmD8W8oqTcA XJ7lDpgOaINwk8/relgPiHXOfWKqC2dAwXhTVwuFtSsIydwSRw/zQBMh7nvKJEq+xTwpwi6uzvcv0 50lAt2+8bYYVVCFaW6jjx4SZt2eev8TLcp7CjxiK57x75nHAETRfeG5Gad3DijfqOoKqxGlQ6JSSQ 0N8IYrqQ==; Received: by zero.zsh.org with local id 1oyCf0-000ArJ-TO; Thu, 24 Nov 2022 13:53:03 +0000 Authentication-Results: zsh.org; iprev=pass (iris.zentaur.org) smtp.remote-ip=198.58.127.206; dkim=pass header.d=zentaur.org header.s=dkim20200120 header.a=rsa-sha256; dmarc=pass header.from=zentaur.org; arc=none Received: from iris.zentaur.org ([198.58.127.206]:59964) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1oyCef-000AWj-MF; Thu, 24 Nov 2022 13:52:42 +0000 Received: from iris.zentaur.org (localhost [127.0.0.1]) by iris.zentaur.org (Postfix) with ESMTP id 4NHzvr4yvDz3wZj for ; Thu, 24 Nov 2022 13:52:40 +0000 (UTC) Authentication-Results: iris.zentaur.org (amavisd-new); dkim=pass (2048-bit key) reason="pass (just generated, assumed good)" header.d=zentaur.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zentaur.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :from:from:references:to:content-language:subject:subject :user-agent:mime-version:date:date:message-id; s=dkim20200120; t=1669297960; x=1669301561; bh=I14sfrXKaP9lSnXarkgskSJ7OYE1ey3Q e4bNO6/H9kE=; b=H5Uojl7jR9er9oQ8TMdRnh4/jJIHnX/SRYfXdIefteQ6sQZB U1Ulc58eFm27hdiR4ocSGwr64YcF9suYhqQigSKwVWKVA8u+utq2EfedwSQfuNvv 3fDqG36qG15VsxX/sQEifJWQ8jxr8eXaPctOLEH4qcYVL0yZ0Ni1fR8TOfkman9b wgZyvJ8hqL8aW8LPnYT/UylODJv6tMQcUeZb8FlpkVZg9YLaUFv0C0PdyxzaqoZg oq4SY3HMLZTfq85bhwE9zPK7D66N3KTXr8iXddPHWteJFMPrVxMSw3Z6sGIuNmJP SIpr9nfrBW0sY1x5QJRoUBU02nezhQ2cX8CT2Q== X-Virus-Scanned: amavisd-new at iris.zentaur.org Received: from iris.zentaur.org ([127.0.0.1]) by iris.zentaur.org (iris.zentaur.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id EOslrGZ7lMXS for ; Thu, 24 Nov 2022 13:52:40 +0000 (UTC) Received: from [192.168.78.67] (173-207-53-93.cpe.cableone.net [173.207.53.93]) by iris.zentaur.org (Postfix) with ESMTPSA id 4NHzvr13gBz3wZb for ; Thu, 24 Nov 2022 13:52:40 +0000 (UTC) Message-ID: Date: Thu, 24 Nov 2022 07:52:39 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH] zsh/random module [UPDATED] Content-Language: en-US To: zsh-workers@zsh.org References: <1b2cafe6-b4b5-c59a-11f3-4dbc1e99e2bc@zentaur.org> <6275a5ac-3a47-f591-7b3c-380ec4fed5ac@zentaur.org> <3423b634-a7c3-9efc-92cd-b9b995ac1c27@zentaur.org> <30a7e749-7f30-ecae-6479-a345b1682e7f@zentaur.org> <2df1001e-69a6-9785-70a6-8416fdcffd8d@zentaur.org> <0a07afaf-1194-6752-8133-8aa6b689724d@zentaur.org> <20221123203329.GP27622@tarpaulin.shahaf.local2> <869f6d65-15d2-477f-b78b-02427a0c1395@app.fastmail.com> From: Clinton Bunch In-Reply-To: <869f6d65-15d2-477f-b78b-02427a0c1395@app.fastmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed X-Antivirus: Avast (VPS 221124-2, 11/24/2022), Outbound message X-Antivirus-Status: Clean Content-Transfer-Encoding: quoted-printable X-Seq: 51062 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: On 11/23/2022 3:42 PM, dana wrote: [snip] > On Wed 23 Nov 2022, at 13:46, Daniel Shahaf wrote: >>> +%test >>> + getrandom -U 56 >>> +1f:Checking if system has a kernel random source >>> +?(eval):1: No kernel random pool found. >>> + >> The test point's code has nothing to do with the test point's >> description and expected errput. > The assertion is backwards but i guess this is just testing to see if t= he > module works on the system. But should that even be a test? Shouldn't t= here > instead be a %prep that just leaves the whole file unimplemented in thi= s case? > Unless we're expecting the module to be both available and usable on ev= ery zsh > build The test is because the module is designed to be run on operating=20 systems where the kernel module for urandom is an add-on package.=20 (Specifically, my problem child for the last decade, HP-UX), so may be=20 available on the build system, but the zsh package installed on one=20 where it isn't available.=C2=A0 On further thought, since the reverse is = also=20 true, though, the test may be misguided. [snip] > dana >