|
From: | Richard Henderson |
Subject: | Re: [Qemu-devel] [PATCH v1 3/5] tests/tcg: fix diff-out pass to properly report failure |
Date: | Wed, 10 Jul 2019 09:41:13 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 |
On 7/5/19 6:04 PM, Alex Bennée wrote: > +diff-out = $(call quiet-command, diff -q $1.out $2 || \ > + (diff -u $1.out $2 | head -n 10 && false), \ What about (set -o pipefail; diff ... | head) ? I think we already rely on bash, right? r~
[Prev in Thread] | Current Thread | [Next in Thread] |