mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-11-18 10:15:13 +00:00
Filter mountpoints via mount -t (#1905)
This is portable between Linux and macOS.
This commit is contained in:
parent
3fa03d4e1e
commit
302150b4f5
@ -1840,7 +1840,7 @@ function add_all_tests {
|
|||||||
add_tests test_update_time_chown
|
add_tests test_update_time_chown
|
||||||
add_tests test_update_time_xattr
|
add_tests test_update_time_xattr
|
||||||
add_tests test_update_time_touch
|
add_tests test_update_time_touch
|
||||||
if [ -e /proc/mounts ] && ! grep "^s3fs " < /proc/mounts | grep "$TEST_BUCKET_MOUNT_POINT_1 " | grep -q -e noatime -e relatime ; then
|
if ! mount -t fuse.s3fs | grep "$TEST_BUCKET_MOUNT_POINT_1 " | grep -q -e noatime -e relatime ; then
|
||||||
add_tests test_update_time_touch_a
|
add_tests test_update_time_touch_a
|
||||||
fi
|
fi
|
||||||
add_tests test_update_time_append
|
add_tests test_update_time_append
|
||||||
@ -1851,7 +1851,7 @@ function add_all_tests {
|
|||||||
add_tests test_update_directory_time_chown
|
add_tests test_update_directory_time_chown
|
||||||
add_tests test_update_directory_time_set_xattr
|
add_tests test_update_directory_time_set_xattr
|
||||||
add_tests test_update_directory_time_touch
|
add_tests test_update_directory_time_touch
|
||||||
if [ -e /proc/mounts ] && ! grep "^s3fs " < /proc/mounts | grep "$TEST_BUCKET_MOUNT_POINT_1 " | grep -q -e noatime -e relatime ; then
|
if ! mount -t fuse.s3fs | grep "$TEST_BUCKET_MOUNT_POINT_1 " | grep -q -e noatime -e relatime ; then
|
||||||
add_tests test_update_directory_time_touch_a
|
add_tests test_update_directory_time_touch_a
|
||||||
fi
|
fi
|
||||||
add_tests test_update_directory_time_subdir
|
add_tests test_update_directory_time_subdir
|
||||||
|
Loading…
Reference in New Issue
Block a user