[PATCH] pc.test: Fix up order of strace messages again

Dmitry V. Levin ldv at strace.io
Thu Feb 2 18:42:10 UTC 2023


On Tue, Jan 31, 2023 at 08:49:01PM +0100, Helge Deller wrote:
> It seems I managed to swap two lines with my last patch.
> This fixes it up again and brings it in the correct logical order.
> 
> There is no functional change. The testcase succeeds in both
> cases.
> 
> Fixes: 1b828bb0f48a ("hppa: Fix pc.test testcase on hppa architecture")
> Signed-off-by: Helge Deller <deller at gmx.de>
> 
> 
> diff --git a/tests/pc.test b/tests/pc.test
> index 7da0d6b0c..b70669eab 100755
> --- a/tests/pc.test
> +++ b/tests/pc.test
> @@ -31,8 +31,8 @@ addr="$(echo "$ip" |sed -r 's/^0+//')" && addr=${addr%?} &&
> 
>  cat > "$EXP" << __EOF__
>  \\[[[:xdigit:]]{$len}\\] munmap\\(0x[[:xdigit:]]+, 0\\) += -1 .*
> -\\[pid +$pid\\] \\[\\?{$len}\\] \\+\\+\\+ killed by SIGSEGV( \\(core dumped\\))? \\+\\+\\+
>  \\[pid +$pid\\] \\[$ip\\] --- SIGSEGV \\{si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x$addr[[:xdigit:]]\\} ---
> +\\[pid +$pid\\] \\[\\?{$len}\\] \\+\\+\\+ killed by SIGSEGV( \\(core dumped\\))? \\+\\+\\+
>  \\[\\?{$len}\\] \\+\\+\\+ exited with 0 \\+\\+\\+
>  __EOF__

Applied, thanks.


-- 
ldv


More information about the Strace-devel mailing list