Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISPN-5897 Fix compressed log handling in filter_failed_tests.sh #3846

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/filter_failed_tests.sh
Expand Up @@ -5,7 +5,7 @@ DIR=`dirname $0`

for LOG_FILE in `find . -name "*.log*"` ; do
CAT=cat
if [ "${FILE##*.}" == "gz" ] ; then
if [ "${LOG_FILE##*.}" == "gz" ] ; then
CAT=zcat
fi
FAILED_TESTS=`$CAT $LOG_FILE | perl -ne '/Test .*\(.*\.(.*)\) (failed|skipped)\./ && print "$1\n";' | sort -u`
Expand Down