From dab9bb6b9c1d8b99f2ed27b29a230c1489db3ed9 Mon Sep 17 00:00:00 2001 From: Miki Rozloznik Date: Fri, 4 Oct 2024 07:50:55 +0200 Subject: [PATCH] Fix --- scripts/test.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/test.sh b/scripts/test.sh index 9a4c3bdbf..87ac2786b 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -372,7 +372,8 @@ test_xml() local TEST_DATA_ROOT_DIR="${TEST_SRC_DIR}/data" local TOTAL_NUMBER_OF_TESTS=0 for TEST_SUITE in "${TEST_SUITES[@]}" ; do - local TEST_ZS_DIRS=`"${FIND}" "${TEST_DATA_ROOT_DIR}/${TEST_SUITE}" -path '*/zs' ! -path '*errors*'` + local TEST_ZS_DIRS=`"${FIND}" "${TEST_DATA_ROOT_DIR}/${TEST_SUITE}" \ + -path '*/zs' ! -path '*errors*' >>/dev/null 2>&1` for TEST_ZS_DIR in ${TEST_ZS_DIRS} ; do local MAIN_ZS_FILES=`"${FIND}" "${TEST_ZS_DIR}" -maxdepth 1 -type f` for MAIN_ZS_FILE in ${MAIN_ZS_FILES} ; do @@ -447,7 +448,8 @@ test_doc() local TEST_DATA_ROOT_DIR="${TEST_SRC_DIR}/data" local TOTAL_NUMBER_OF_TESTS=0 for TEST_SUITE in "${TEST_SUITES[@]}" ; do - local TEST_ZS_DIRS=`"${FIND}" "${TEST_DATA_ROOT_DIR}/${TEST_SUITE}" -path '*/zs' ! -path '*errors*'` + local TEST_ZS_DIRS=`"${FIND}" "${TEST_DATA_ROOT_DIR}/${TEST_SUITE}" \ + -path '*/zs' ! -path '*errors*' >>/dev/null 2>&1` for TEST_ZS_DIR in ${TEST_ZS_DIRS} ; do local MAIN_ZS_FILES=`"${FIND}" "${TEST_ZS_DIR}" -maxdepth 1 -type f` for MAIN_ZS_FILE in ${MAIN_ZS_FILES} ; do