1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-22 18:29:36 +01:00

Merge pull request #14597 from NixOS/restore-sink-openat

libutil: Make RestoreSink use *at system calls on UNIX
This commit is contained in:
Sergei Zimmerman 2025-11-20 01:50:10 +00:00 committed by GitHub
commit 70b9fbd76c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 165 additions and 48 deletions

View file

@ -114,7 +114,7 @@ if (( unicodeTestCode == 1 )); then
# If the command failed (MacOS or ZFS + normalization), checks that it failed
# with the expected "already exists" error, and that this is the same
# behavior as `touch`
echo "$unicodeTestOut" | grepQuiet "path '.*/out/â' already exists"
echo "$unicodeTestOut" | grepQuiet "creating directory '.*/out/â': File exists"
(( touchFilesCount == 1 ))
elif (( unicodeTestCode == 0 )); then