[DTrace-devel] [PATCH] test: Fail if the postprocessor fails

Eugene Loh eugene.loh at oracle.com
Mon May 22 19:26:06 UTC 2023


ping

On 3/11/23 12:32, eugene.loh at oracle.com wrote:
> From: Eugene Loh <eugene.loh at oracle.com>
>
> Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
> ---
>   runtest.sh | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/runtest.sh b/runtest.sh
> index bc7e6c1a..75a6a90f 100755
> --- a/runtest.sh
> +++ b/runtest.sh
> @@ -1343,6 +1343,7 @@ for dt in $dtrace; do
>   
>               if ! postprocess $base.r.p $testout $tmpdir/test.out; then
>                   testmsg="results postprocessor failed with exitcode $?"
> +                fail=t
>               fi
>   
>               rm -f $testerr



More information about the DTrace-devel mailing list