Created
January 19, 2016 10:49
-
-
Save mpartel/891ede826b987b694d26 to your computer and use it in GitHub Desktop.
Test case for bindfs issue #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Issue #28 | |
testenv("", :title => "many files in a directory") do | |
mkdir('src/dir') | |
expected_entries = ['.', '..'] | |
10000.times do |i| | |
touch("src/dir/#{i}") | |
expected_entries << i.to_s | |
end | |
assert { Dir.entries('mnt/dir').sort == expected_entries.sort } | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment