coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add two tests - mv & chmod


From: Pádraig Brady
Subject: Re: Add two tests - mv & chmod
Date: Sat, 3 Jan 2026 14:50:04 +0000
User-agent: Mozilla Thunderbird Beta

On 02/01/2026 09:32, Sylvestre Ledru wrote:

Le 01/01/2026 à 14:45, Pádraig Brady a écrit :
On 01/01/2026 12:25, Sylvestre Ledru wrote:
Hello

Two more tests for behavior aren't tested currently!

chmod: check exit code with multiple files when there is a failure
I think you meant skip_if_root_ not skip_if_not_root_
Also sudo isn't appropriate due to possibility of prompting for passwords etc.

Could this be simplified to just?

     touch file || framework_failure_
     returns_ 1 chmod 0 file missing_file || fail=1

yeah, my bad, thanks!

Ok cool.
I pushed a test along those lines at:

https://github.com/coreutils/coreutils/commit/71e0be29f
cheers,
Padraig



reply via email to

[Prev in Thread] Current Thread [Next in Thread]