[ovs-dev] [PATCH ovn v5 3/8] tests: Use portable "test a = b", not "test a == b".

Ben Pfaff blp at ovn.org
Thu Nov 12 17:52:06 UTC 2020


On Thu, Nov 12, 2020 at 09:24:42AM -0800, Ben Pfaff wrote:
> On Thu, Nov 12, 2020 at 09:06:06AM -0800, Ben Pfaff wrote:
> > On Thu, Nov 12, 2020 at 09:58:22AM +0100, Dumitru Ceara wrote:
> > > On 11/12/20 2:45 AM, Ben Pfaff wrote:
> > > > "==" is a GNU extension to "test".  A pox upon it.
> > > 
> > > :)
> > > 
> > > Interesting, I didn't know this and had to dig quite a bit because it's
> > > not explicitly mentioned:
> > > 
> > > https://www.gnu.org/software/coreutils/manual/coreutils.html#String-tests
> > 
> > I didn't know it wasn't documented.  Maybe I will submit a documentation
> > patch.
> 
> Done.  I guess it'll show up in the coreutils mailing list archive in a
> bit.

Yeah, here:
https://lists.gnu.org/archive/html/coreutils/2020-11/msg00014.html


More information about the dev mailing list