GNU bug report logs - #70473
[PATCH] tests: fix stdin tests

Previous Next

Package: diffutils;

Reported by: Tanmay <tanmaynpatil105 <at> gmail.com>

Date: Fri, 19 Apr 2024 12:11:02 UTC

Severity: normal

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 70473-done <at> debbugs.gnu.org (full text, mbox):

From: Tanmay <tanmaynpatil105 <at> gmail.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 70473-done <at> debbugs.gnu.org
Subject: Re: [bug-diffutils] bug#70473: [PATCH] tests: fix stdin tests
Date: Fri, 19 Apr 2024 23:47:42 +0530
[Message part 1 (text/plain, inline)]
Hi,

Thanks for replying!

I was using an older version (3.8) of diffutils on my machine, and I
believe this feature was introduced recently. So, I thought it might be a
bug. Now, I've grown more curious about how this feature is implemented to
handle stdin. Implementing it without stdin seems fairly straightforward.

Looking forward to your response.

Thanks,
Tanmay

On Fri, 19 Apr 2024 at 21:22, Paul Eggert <eggert <at> cs.ucla.edu> wrote:

> On 2024-04-19 05:07, Tanmay wrote:
> > I noticed that in the tests/stdin directory, we were taking input
> directly
> > from the 'd' directory, which seems incorrect.
> >
> > tests/stdin:31 diff -u - a <d >out 2>err || fail=1
>
> I don't see a bug there. In general 'diff DIRECTORY FILE' acts like
> 'diff DIRECTORY/FILE FILE'; here 'diff - a <d' acts like 'diff d/a a'.
>
[Message part 2 (text/html, inline)]

This bug report was last modified 1 year and 34 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.