You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by fs...@apache.org on 2020/06/19 04:57:01 UTC

[tomcat] branch master updated: Use the correct file to grep for failures in travis

This is an automated email from the ASF dual-hosted git repository.

fschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
     new 22b4f77  Use the correct file to grep for failures in travis
22b4f77 is described below

commit 22b4f7752aa33d34a206417854c9c04f408eac11
Author: Felix Schumacher <fs...@apache.org>
AuthorDate: Fri Jun 19 06:56:40 2020 +0200

    Use the correct file to grep for failures in travis
---
 .travis/antTest.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis/antTest.sh b/.travis/antTest.sh
index cc40bad..0e266e6 100755
--- a/.travis/antTest.sh
+++ b/.travis/antTest.sh
@@ -23,7 +23,7 @@
 ant -q test 2>&1 > ant-test.log
 RC=$?
 {
-    if grep -q "Testsuites with failed tests:"; then
+    if grep -q "Testsuites with failed tests:" ant-test.log; then
         for failed in $(awk 'failed == 1 { print $2 }; /Testsuites with failed tests:/ { failed=1 }' ant-test.log); do
             echo "Failed test: $failed"
             cat output/build/logs/$failed


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org