git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: cogito-0.16: t/test-lib.sh: Unportable test(1) construct

From
Petr Baudis <pasky@suse.cz>
Date
Oct 16, 2006, 01:47 UTC
Message-ID
<20061016014757.GY20017@pasky.or.cz>
In-Reply-To
<20061016010520.GS25390@danbala.tuwien.ac.at>
  Hi,

Dear diary, on Mon, Oct 16, 2006 at 03:05:20AM CEST, I got a letter where Thomas Klausner <tk@giga.or.at> said that...

> As of version 0.16, cogito is using an unportable bash extension
> "==" for test(1) in t/test-lib.sh. This is not supported by most
> other shells or even test(1) from GNU coreutils. Please use "="
> instead. A patch is attached.
  thanks, applied. Please generate -p1 patches in the future and sign
them off.
-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
Previous: Thomas Klausner
Message 2 of 2 in “cogito-0.16: t/test-lib.sh: Unportable test(1) construct”
  1. Thomas KlausnerOct 16, 2006
  2. Petr BaudisOct 16, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.