Merge pull request #1131 from ggtakec/fix_typo

Fixed typo in #1129
This commit is contained in:
Takeshi Nakatani 2019-08-14 22:26:04 +09:00 committed by GitHub
commit c644e4bef2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -568,13 +568,13 @@ function test_concurrent_writes {
function test_open_second_fd {
describe "read from an open fd"
rm_test_file secound_fd_file
RESULT=$( (echo foo ; wc -c < secound_fd_file >&2) 2>& 1>secound_fd_file)
rm_test_file second_fd_file
RESULT=$( (echo foo ; wc -c < second_fd_file >&2) 2>& 1>second_fd_file)
if [ "$RESULT" -ne 4 ]; then
echo "size mismatch, expected: 4, was: ${RESULT}"
return 1
fi
rm_test_file secound_fd_file
rm_test_file second_fd_file
}
function add_all_tests {