mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[PR #1232] [MERGED] Not trap chown command errors directly #1876
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#1876
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/1232
Author: @ggtakec
Created: 1/28/2020
Status: ✅ Merged
Merged: 1/28/2020
Merged by: @ggtakec
Base:
master← Head:test_err_avoid📝 Commits (1)
010a6b8Not trap chown command errors directly📊 Changes
1 file changed (+8 additions, -1 deletions)
View changed files
📝
test/integration-test-main.sh(+8 -1)📄 Description
Relevant Issue (if applicable)
n/a
Details
If the test_chown() of the test script causes an error (mainly related to file permission) for the chown command, the script is trapped at that point.
This seems to occur when the ensure_diskfree option is specified in Travis CI of MacOS.
Even if the chown command error is not trapped directly, it can be detected as an error in the immediately following judgment statement.
Therefore, it is patched to avoid trapping chown command errors directly.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.