W3C home > Mailing lists > Public > public-cwm-bugs@w3.org > June 2005

[closed] Re: delta.py return codes

From: EspeonEefi <eefi@MIT.EDU>
Date: Thu, 16 Jun 2005 19:19:38 -0400
To: public-cwm-bugs@w3.org
Message-Id: <1118963978.6503.110.camel@localhost.localdomain>

On Mon, 2005-06-13 at 16:07 -0400, EspeonEefi wrote:
> Re: http://lists.w3.org/Archives/Public/public-cwm-bugs/2005Feb/0000
> 
> The following patch to delta.py I think does the trick, or at least does
> as
> http://www.gnu.org/software/diffutils/manual/html_mono/diff.html#Invoking%20diff says diff should act as far as exit codes go.

Patch committed. Test also added. It (the test) is rather (all right,
very) hacky, though. Hopefully $? and &> are standard sh features and
not just bashisms. I also threw /dev/null in there... -.-

Test added: http://www.w3.org/2000/10/swap/test/delta/detailed.tests#t3

-- eefi
Received on Thursday, 16 June 2005 23:19:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:10:59 GMT