mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2025-01-31 09:38:25 +00:00
Added small logic in test script for test_chown
This commit is contained in:
parent
f363c21ff5
commit
232befb52a
@ -207,8 +207,12 @@ function test_chown {
|
||||
# if they're the same, we have a problem.
|
||||
if [ $(stat --format=%u:%g $TEST_TEXT_FILE) == $ORIGINAL_PERMISSIONS ]
|
||||
then
|
||||
echo "Could not modify $TEST_TEXT_FILE ownership($ORIGINAL_PERMISSIONS to 1000:1000)"
|
||||
return 1
|
||||
if [ $ORIGINAL_PERMISSIONS == "1000:1000" ]
|
||||
echo "Could not be strict check because original file permission 1000:1000"
|
||||
else
|
||||
echo "Could not modify $TEST_TEXT_FILE ownership($ORIGINAL_PERMISSIONS to 1000:1000)"
|
||||
return 1
|
||||
then
|
||||
fi
|
||||
|
||||
# clean up
|
||||
|
Loading…
x
Reference in New Issue
Block a user