mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-12-22 08:48:55 +00:00
Added small logic in test script for test_chown
This commit is contained in:
parent
232befb52a
commit
ec110bb0f3
@ -208,11 +208,12 @@ function test_chown {
|
||||
if [ $(stat --format=%u:%g $TEST_TEXT_FILE) == $ORIGINAL_PERMISSIONS ]
|
||||
then
|
||||
if [ $ORIGINAL_PERMISSIONS == "1000:1000" ]
|
||||
then
|
||||
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
|
||||
fi
|
||||
|
||||
# clean up
|
||||
|
Loading…
Reference in New Issue
Block a user