From 86da2eed3ab644b8ca446545af640c34863c1c9c Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Sun, 17 Jul 2022 01:33:50 +0900 Subject: [PATCH] Do not call exit in individual test functions (#1985) This could prevent the test runner from reporting failures. --- test/integration-test-main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration-test-main.sh b/test/integration-test-main.sh index 7c7d8b3..4548a91 100755 --- a/test/integration-test-main.sh +++ b/test/integration-test-main.sh @@ -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