]> xenbits.xensource.com Git - libvirt.git/commitdiff
travis: Fix error path
authorAndrea Bolognani <abologna@redhat.com>
Thu, 14 Jun 2018 16:23:47 +0000 (18:23 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Fri, 15 Jun 2018 06:09:41 +0000 (08:09 +0200)
Without a proper separator, all commands in the error path
end up being interpreted as a single command, which is not
what we want.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
.travis.yml

index a902d203ff009d4de1db4c432c289c999ce4cf36..1e2e307ac5a3217a6bf0373f16926d8db3f19bc4 100644 (file)
@@ -52,9 +52,9 @@ env:
         make -j3 syntax-check &&
         make -j3 distcheck DISTCHECK_CONFIGURE_FLAGS=\"\$DISTCHECK_CONFIGURE_FLAGS\" ||
         (
-          echo '=== LOG FILE(S) START ==='
-          find -name test-suite.log | xargs cat
-          echo '=== LOG FILE(S) END ==='
+          echo '=== LOG FILE(S) START ===';
+          find -name test-suite.log | xargs cat;
+          echo '=== LOG FILE(S) END ===';
           exit 1
         )
       "
@@ -68,9 +68,9 @@ env:
         make -j3 install &&
         make -j3 dist ||
         (
-          echo '=== LOG FILE(S) START ==='
-          find -name test-suite.log | xargs cat
-          echo '=== LOG FILE(S) END ==='
+          echo '=== LOG FILE(S) START ===';
+          find -name test-suite.log | xargs cat;
+          echo '=== LOG FILE(S) END ===';
           exit 1
         )
       "