|
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?
tests-ls-enoent.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |