coreutils
[Top][All Lists]
Advanced

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

ls --dired : be more proactive with errors [was: Re: ls/test: verify the


From: Sylvestre Ledru
Subject: ls --dired : be more proactive with errors [was: Re: ls/test: verify the output of ls --dired]
Date: Sun, 17 Sep 2023 16:00:14 +0200
User-agent: Mozilla Thunderbird


Le 15/09/2023 à 14:53, Pádraig Brady a écrit :
On 14/09/2023 23:05, Sylvestre Ledru wrote:
Hello

Currently, GNU coreutils doesn't have any test verifying the actual
output of ls --dired.

It should generate a list of position (pairs).

//DIRED// 73 82 142 152 ...

The attached patch creates 2 files and one directory and verify that we
can find their names using the position.

Well the existing test did verify --dired output offsets,
albeit constant offsets from the non varying output.

Thanks.

Here is a second patch to improve the error management.
Currently, "ls --dired" silently fails

I implemented the first suggestion in the FIXME.

Thanks,
Sylvestre

Attachment: 0001-ls-dired-will-fail-when-l-is-missing-or-when-hyperli.patch
Description: Text Data


reply via email to

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