Do not call exit in individual test functions (#1985)

This could prevent the test runner from reporting failures.
This commit is contained in:
Andrew Gaul 2022-07-17 01:33:50 +09:00 committed by GitHub
parent e7ed01b35f
commit 86da2eed3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -794,7 +794,7 @@ function test_extended_attributes {
# remove value
del_xattr key1 "${TEST_TEXT_FILE}"
get_xattr key1 "${TEST_TEXT_FILE}" && exit 1
get_xattr key1 "${TEST_TEXT_FILE}" && return 1
get_xattr key2 "${TEST_TEXT_FILE}" | grep -q '^value2$'
rm_test_file