From owner-freebsd-standards@FreeBSD.ORG Wed Feb 9 21:25:45 2011 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EB09106566C for ; Wed, 9 Feb 2011 21:25:45 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [IPv6:2001:470:a803::1]) by mx1.freebsd.org (Postfix) with ESMTP id 14C3E8FC18 for ; Wed, 9 Feb 2011 21:25:45 +0000 (UTC) Received: from mail.geekcn.org (tarsier.geekcn.org [211.166.10.233]) by tarsier.geekcn.org (Postfix) with ESMTP id E14EBA7D81D; Thu, 10 Feb 2011 05:25:43 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([211.166.10.233]) by mail.geekcn.org (mail.geekcn.org [211.166.10.233]) (amavisd-new, port 10024) with LMTP id 0Cx4aYGxzWna; Thu, 10 Feb 2011 05:25:37 +0800 (CST) Received: from delta.delphij.net (drawbridge.ixsystems.com [206.40.55.65]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id C67EDA5AF95; Thu, 10 Feb 2011 05:25:36 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type; b=uK9S39OZm/JIBLRWlYXFWvHFNV5hwtu/I+IgDxLkHtXslh912xmGBuRTU9ufON6Hl 9AIP9PuD+eUxG4eAihS8w== Message-ID: <4D53064B.7090901@delphij.net> Date: Wed, 09 Feb 2011 13:25:31 -0800 From: Xin LI Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.16) Gecko/20101210 Thunderbird/3.0.11 ThunderBrowse/3.3.4 MIME-Version: 1.0 To: utisoft@gmail.com References: In-Reply-To: X-Enigmail-Version: 1.0.1 OpenPGP: id=3FCA37C1; url=http://www.delphij.net/delphij.asc Content-Type: multipart/mixed; boundary="------------070900030504060001050108" Cc: freebsd-standards@freebsd.org Subject: Re: Should we imitate GNU test's insanity? X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Feb 2011 21:25:45 -0000 This is a multi-part message in MIME format. --------------070900030504060001050108 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 02/09/11 12:46, Chris Rees wrote: > Hi all, > > I've found so many cases of autoconf failing when porting Linux apps > over, for example scilab and musicpd due to the happiness of GNU test > to accept a == b rather than a = b. > > Rather than making a bug report that'll be brushed off (as my bug > report for GNU find was), would it be unthinkable for me to make a > patch for our test to make == acceptable, to stop some wasted porters' > time? I don't think == is unacceptable extension to the POSIX standard based on my reading. If there is no objection I'll commit the attached patch on Friday. Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iQEcBAEBCAAGBQJNUwZLAAoJEATO+BI/yjfB1jIH+gNDuwAebonOjVJeZi/RRsIb lnorgRDijI+y+Szo0av54TtlwTSlXK76hZEmmaK7R5cTK4NIQljIXKejVB9ZWYRY Setp+JHXNYCkc7tR6HqBwNjKUL3wLIjzxgMVPrAC2lAbDvk0kgz8VaysLFRpuj5F 7SmEaHUUhpzSRtlt27Ju06Y62r/+bRyWAiqeJFLZfNewJu6PIr+ZjAWU7M1ICFCy oNX2e7dx9AG8qGSZ0iJBYbyT0ITEQjWVtPFq4naFLHWAW/TfBxAWp5IwwXuAtdmF o4eapEIP7lB7t2Kxrn79+dFlf1yS1JgrvwlZBe6Ss87CiOnX1U4hPzqDLKPhTkw= =Q6K9 -----END PGP SIGNATURE----- --------------070900030504060001050108 Content-Type: text/plain; name="test.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="test.diff" Index: bin/test/test.c =================================================================== --- bin/test/test.c (revision 218497) +++ bin/test/test.c (working copy) @@ -140,6 +140,7 @@ {"-L", FILSYM, UNOP}, {"-S", FILSOCK,UNOP}, {"=", STREQ, BINOP}, + {"==", STREQ, BINOP}, {"!=", STRNE, BINOP}, {"<", STRLT, BINOP}, {">", STRGT, BINOP}, --------------070900030504060001050108--