mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-11-17 17:55:12 +00:00
Test removing a non-empty directory
This commit is contained in:
parent
cbc057bca7
commit
5f792a9a2b
@ -271,6 +271,16 @@ fi
|
|||||||
rm_test_file
|
rm_test_file
|
||||||
rm_test_dir
|
rm_test_dir
|
||||||
|
|
||||||
|
##########################################################
|
||||||
|
# Testing removing a non-empty directory
|
||||||
|
##########################################################
|
||||||
|
echo "Testing removing a non-empty directory"
|
||||||
|
mk_test_dir
|
||||||
|
touch "${TEST_DIR}/file"
|
||||||
|
rmdir "${TEST_DIR}" 2>&1 | grep -q "Directory not empty"
|
||||||
|
rm "${TEST_DIR}/file"
|
||||||
|
rm_test_dir
|
||||||
|
|
||||||
##########################################################
|
##########################################################
|
||||||
# Testing rename before close
|
# Testing rename before close
|
||||||
##########################################################
|
##########################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user