diff options
author | Florian Schwalm <68847951+egfx-notifications@users.noreply.github.com> | 2023-11-17 23:24:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-17 15:24:10 -0700 |
commit | 20bf697ba6fd2aa769342c8a3b343ae265e46330 (patch) | |
tree | 2de72edc97f0e409a593b1ed4213011ebe5c86a7 /ext/fetch/23_request.js | |
parent | f46802cb1e70d3a0c06cd74dd1d7a5798cf9bfe4 (diff) |
chore(cli): Fix rename test for XFS (#21215)
Renaming a directory to a path where a non-empty directory already
exists was asserted to always fail with `ENOTEMPTY`
According to glibc manual the function may also fail with `EEXIST` on
"some other systems". One such case is using XFS [^1].
This commit handles the EEXIST case.
[^1]:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/fs/xfs/xfs_inode.c?h=v4.18&id=94710cac0ef4ee177a63b5227664b38c95bbf703#n3082
Diffstat (limited to 'ext/fetch/23_request.js')
0 files changed, 0 insertions, 0 deletions