Skip to content

Commit

Permalink
[TESTING] Possible fix for a minor warning in CI (- WIP #41 & #13 -)
Browse files Browse the repository at this point in the history
### ChangeLog:

Changes in file tests/check_cc_lines:
 else
  • Loading branch information
reactive-firewall committed Aug 27, 2024
1 parent 8c0fa3c commit 1315130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/check_cc_lines
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ fi

_TEST_YEAR=$(date -j "+%C%y" 2>/dev/null ;)

for _TEST_DOC in $(find ${_TEST_ROOT_DIR} \( -not -ipath "*.github/*" \) -a \( -iname '*.py' -o -iname '*.txt' -o -iname '*.md' \) -a -print0 | xargs -0 -L1 -I{} ${_TEST_FILE_VALIDATOR} "{}" ; wait ;) ; do
for _TEST_DOC in $(find ${_TEST_ROOT_DIR} \( -not -ipath "*.github/*" \) -a \( -iname '*.py' -o -iname '*.txt' -o -iname '*.md' \) -a -print0 2>&1 | xargs -0 -I{} ${_TEST_FILE_VALIDATOR} "{}" ; wait ;) ; do
if [[ ($(grep -cF 'Disclaimer' "${_TEST_DOC}" 2>&1 || EXIT_CODE=$? ;) -ne 0) ]] ; then
echo "SKIP: ${_TEST_DOC} is disclaimed." ;
EXIT_CODE=126
Expand Down

0 comments on commit 1315130

Please sign in to comment.