bug-gnulib
[Top][All Lists]
Advanced

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

savewd: wrong behavior after recent commit


From: Grisha Levit
Subject: savewd: wrong behavior after recent commit
Date: Thu, 14 Nov 2024 17:52:27 -0500

The coreutils test mkdir/p-3.sh currently fails on macOS, AFAICT as a
result of the gnulib change:

    e4399abd41 (savewd: port to native MS-Windows, 2024-08-27)

The relevant part of the test is:

    mkdir no-access || framework_failure_

    p=$(pwd)
    (cd no-access && chmod 0 . && mkdir -p "$p/a/b" u/v) 2> /dev/null
    test $? -eq 1 || fail=1

Essentially, if cwd lacks search permission, relative paths in the list
passed to savewd_process_files end up resolved relative to the dir used
to process any previous absolute path in the list.



reply via email to

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