mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-11-17 17:55:12 +00:00
Merge pull request #220 from andrewgaul/test-rmdir-nonempty-directory
Test removing a non-empty directory
This commit is contained in:
commit
edb3c78fe9
@ -271,6 +271,16 @@ fi
|
||||
rm_test_file
|
||||
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
|
||||
##########################################################
|
||||
|
Loading…
Reference in New Issue
Block a user