coreutils
[Top][All Lists]
Advanced

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

Re: coreutils-9.4.170-7b206 ls/removed-directory test failure


From: Pádraig Brady
Subject: Re: coreutils-9.4.170-7b206 ls/removed-directory test failure
Date: Tue, 26 Mar 2024 16:50:49 +0000
User-agent: Mozilla Thunderbird

On 24/03/2024 16:30, Bruno Haible wrote:
The ls/removed-directory test fails on FreeBSD 14.0.

tests-suite.log from FreeBSD 14.0:


FAIL: tests/ls/removed-directory
================================

diff -u /dev/null err
--- /dev/null   1970-01-01
+++ err 1970-01-01
+ls: reading directory '.': No such file or directory
FAIL tests/ls/removed-directory.sh (exit status: 1)

It seems that readdir() on FreeBSD 14 is _not_ eating the ENOENT from 
getdirentries().
Attached is an extra check for that, that avoids the test in that case.

An alternative would be for ls to ignore the ENOENT from readdir().
Paul what do you think?

Attachment: tests-ls-enoent.patch
Description: Text Data


reply via email to

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