GNU bug report logs - #17087
cp -i/yes gets ignored

Previous Next

Package: coreutils;

Reported by: karl <at> freefriends.org (Karl Berry)

Date: Mon, 24 Mar 2014 16:18:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #34 received at 17087 <at> debbugs.gnu.org (full text, mbox):

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: Paul Eggert <eggert <at> cs.ucla.edu>, 17087 <at> debbugs.gnu.org,
 Karl Berry <karl <at> freefriends.org>
Subject: Re: bug#17087: cp -i/yes gets ignored
Date: Thu, 27 Mar 2014 08:13:31 +0100
On 03/26/2014 03:20 PM, Pádraig Brady wrote:
> On 03/26/2014 01:26 PM, Bernhard Voelker wrote:
>> FAIL: tests/mv/i-3
>> ==================
> 
> That's an interesting one. I guess our CI didn't flag this
> as the test is skipped without a controlling tty:
> http://hydra.nixos.org/jobset/gnu/coreutils-master
> 
> Also the test is skipped with a parallel make check!
> I.E. this first command detects the fail, while the second skips the test:
>   $ make -j2 check TESTS="tests/mv/i-3.sh"
>   $ make -j2 check TESTS="tests/mv/i-2.sh tests/mv/i-3.sh"
> 
> So to handle both cases I'm updating the "release tasks" list to:
>   setsid make check $(($(nproc) * 2)) # tests without controlling tty
>   make check -j1 # tests with controlling tty

Thanks.
What about a ---presume-input-tty option for mv(1) like rm(1) has?

> Hopefully the attached fixes up these issues.

Yes, thanks!

Have a nice day,
Berny




This bug report was last modified 11 years and 57 days ago.

Previous Next


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